SNES: oh I can't believe I did not commit this yet

This commit is contained in:
tildearrow 2025-02-15 22:21:39 -05:00
parent 63c98baf8e
commit 91ca79587b

View file

@ -383,6 +383,11 @@ int DivPlatformSNES::dispatch(DivCommand c) {
}
chan[c.chan].keyOn=true;
chan[c.chan].macroInit(ins);
// this is the fix. it needs testing.
if (!parent->song.brokenOutVol && !chan[c.chan].std.vol.will) {
if (chan[c.chan].outVol!=chan[c.chan].vol) chan[c.chan].shallWriteVol=true;
chan[c.chan].outVol=chan[c.chan].vol;
}
chan[c.chan].insChanged=false;
break;
}