SPU: Update ADSR envelope when register changes
Fixes menu sounds in Final Fantasy 7 staying audible for too long.
This commit is contained in:
@@ -277,7 +277,7 @@ private:
|
||||
s32 Interpolate() const;
|
||||
|
||||
// Switches to the specified phase, filling in target.
|
||||
void SetADSRPhase(ADSRPhase phase);
|
||||
void UpdateADSREnvelope();
|
||||
|
||||
// Updates the ADSR volume/phase.
|
||||
void TickADSR();
|
||||
|
||||
Reference in New Issue
Block a user