Game Boy: fix wave channel auto-enable on wave cha

This commit is contained in:
tildearrow 2022-08-12 23:09:34 -05:00
parent 39feda54ac
commit 2743c60cf3
1 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ void DivPlatformGB::notifyWaveChange(int wave) {
if (chan[2].wave==wave) {
ws.changeWave1(wave);
updateWave();
if (!chan[2].keyOff) chan[2].keyOn=true;
if (!chan[2].keyOff && chan[2].active) chan[2].keyOn=true;
}
}