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

@ -188,7 +188,7 @@ int DivPlatformSMS::dispatch(DivCommand c) {
chan[c.chan].actualNote=c.value;
break;
case DIV_CMD_PRE_PORTA:
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;
case DIV_CMD_GET_VOLMAX: