mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-01 00:43:02 +00:00
Game Boy: fix bug involving hw sweep and zombie
This commit is contained in:
parent
f86b66b4b7
commit
474dfa2587
1 changed files with 14 additions and 16 deletions
|
@ -181,7 +181,6 @@ void DivPlatformGB::tick(bool sysTick) {
|
||||||
chan[i].soundLen=64;
|
chan[i].soundLen=64;
|
||||||
|
|
||||||
if (!chan[i].keyOn) chan[i].killIt=true;
|
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].keyOn) chan[i].keyOn=false;
|
||||||
if (chan[i].keyOff) chan[i].keyOff=false;
|
if (chan[i].keyOff) chan[i].keyOff=false;
|
||||||
chan[i].freqChanged=false;
|
chan[i].freqChanged=false;
|
||||||
|
}
|
||||||
if (chan[i].killIt) {
|
if (chan[i].killIt) {
|
||||||
if (i!=2) {
|
if (i!=2) {
|
||||||
//rWrite(16+i*5+2,8);
|
//rWrite(16+i*5+2,8);
|
||||||
|
@ -372,7 +371,6 @@ void DivPlatformGB::tick(bool sysTick) {
|
||||||
}
|
}
|
||||||
chan[i].killIt=false;
|
chan[i].killIt=false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
chan[i].soManyHacksToMakeItDefleCompatible=false;
|
chan[i].soManyHacksToMakeItDefleCompatible=false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue