fix phase reset in FM chips after note off

This commit is contained in:
tildearrow 2022-05-22 04:30:56 -05:00
parent 806153fd8e
commit b40c95013a
9 changed files with 9 additions and 9 deletions

View file

@ -345,7 +345,7 @@ void DivPlatformArcade::tick(bool sysTick) {
}
if (chan[i].std.phaseReset.had) {
if (chan[i].std.phaseReset.val==1) {
if (chan[i].std.phaseReset.val==1 && chan[i].active) {
chan[i].keyOn=true;
}
}