Game Boy: fix bug involving hw sweep and zombie

This commit is contained in:
tildearrow 2022-08-15 22:36:26 -05:00
parent f86b66b4b7
commit 474dfa2587

View file

@ -181,7 +181,6 @@ void DivPlatformGB::tick(bool sysTick) {
chan[i].soundLen=64;
if (!chan[i].keyOn) chan[i].killIt=true;
chan[i].freqChanged=true;
}
}
}
@ -353,7 +352,7 @@ void DivPlatformGB::tick(bool sysTick) {
if (chan[i].keyOn) chan[i].keyOn=false;
if (chan[i].keyOff) chan[i].keyOff=false;
chan[i].freqChanged=false;
}
if (chan[i].killIt) {
if (i!=2) {
//rWrite(16+i*5+2,8);
@ -372,7 +371,6 @@ void DivPlatformGB::tick(bool sysTick) {
}
chan[i].killIt=false;
}
}
chan[i].soManyHacksToMakeItDefleCompatible=false;
}