and fix it again

This commit is contained in:
tildearrow 2022-02-08 22:49:52 -05:00
parent f1730baefa
commit 5b7240bb4f
12 changed files with 16 additions and 16 deletions

View file

@ -188,7 +188,7 @@ int DivPlatformSMS::dispatch(DivCommand c) {
chan[c.chan].actualNote=c.value;
break;
case DIV_CMD_PRE_PORTA:
if (chan[c.chan].active) {
if (chan[c.chan].active && c.value2) {
if (parent->song.resetMacroOnPorta) chan[c.chan].std.init(parent->getIns(chan[c.chan].ins));
}
chan[c.chan].inPorta=c.value;