implement reset macro on porta flag

This commit is contained in:
tildearrow 2022-02-08 17:02:27 -05:00
parent 6fb5ca0f78
commit 23dc509524
11 changed files with 14 additions and 12 deletions

View file

@ -674,7 +674,7 @@ int DivPlatformYM2610::dispatch(DivCommand c) {
break;
case DIV_CMD_PRE_PORTA:
if (c.chan>3) {
chan[c.chan].std.init(parent->getIns(chan[c.chan].ins));
if (parent->song.resetMacroOnPorta) chan[c.chan].std.init(parent->getIns(chan[c.chan].ins));
}
chan[c.chan].inPorta=c.value;
break;