mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-26 09:50:29 +00:00
Revert #1974, the other fixes are better.
This is no longer needed for games I have, and it breaks Final Fantasy Tactics' sound effects. Looking at JPCSP for insight, I saw that it re-enables loops if you set a voice even with a different address (I think?) but that seems strange.
This commit is contained in:
parent
b7d494f34e
commit
3aaabfb987
@ -538,7 +538,6 @@ void SasVoice::KeyOn() {
|
|||||||
void SasVoice::KeyOff() {
|
void SasVoice::KeyOff() {
|
||||||
on = false;
|
on = false;
|
||||||
envelope.KeyOff();
|
envelope.KeyOff();
|
||||||
vag.SetLoop(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SasVoice::ChangedParams(bool changedVag) {
|
void SasVoice::ChangedParams(bool changedVag) {
|
||||||
|
@ -84,7 +84,6 @@ public:
|
|||||||
|
|
||||||
void DecodeBlock(u8 *&readp);
|
void DecodeBlock(u8 *&readp);
|
||||||
bool End() const { return end_; }
|
bool End() const { return end_; }
|
||||||
void SetLoop(bool enabled) { loopEnabled_ = enabled; }
|
|
||||||
|
|
||||||
void DoState(PointerWrap &p);
|
void DoState(PointerWrap &p);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user