mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-17 12:47:46 +00:00
Key off the envelope when the VAG/etc. ends.
Fixes Yu-Gi-Oh Tag Force GX 3 hanging in some places.
This commit is contained in:
parent
66e88dd39f
commit
4102e649d5
@ -350,6 +350,7 @@ void SasVoice::ReadSamples(s16 *output, int numSamples) {
|
||||
// NOTICE_LOG(SAS, "Hit end of VAG audio");
|
||||
playing = false;
|
||||
on = false; // ??
|
||||
envelope.KeyOff();
|
||||
}
|
||||
}
|
||||
break;
|
||||
@ -378,6 +379,7 @@ void SasVoice::ReadSamples(s16 *output, int numSamples) {
|
||||
// Hit atrac3 voice end
|
||||
playing = false;
|
||||
on = false; // ??
|
||||
envelope.KeyOff();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user