Game Boy: fix soft env volume after note off

This commit is contained in:
tildearrow 2023-08-17 18:28:48 -05:00
parent d32829b9e9
commit f2dd169e3d
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ int DivPlatformGB::dispatch(DivCommand c) {
}
chan[c.chan].envVol=chan[c.chan].outVol;
if (!chan[c.chan].keyOn) chan[c.chan].killIt=true;
if (!chan[c.chan].keyOn && chan[c.chan].active) chan[c.chan].killIt=true;
chan[c.chan].freqChanged=true;
}
break;