fix artificial intelligence bomb

and a couple of songs that used 02xx after note off
This commit is contained in:
tildearrow 2022-02-08 22:46:58 -05:00
parent fd8b144185
commit f1730baefa
10 changed files with 32 additions and 12 deletions

View file

@ -188,7 +188,9 @@ int DivPlatformSMS::dispatch(DivCommand c) {
chan[c.chan].actualNote=c.value;
break;
case DIV_CMD_PRE_PORTA:
if (parent->song.resetMacroOnPorta) chan[c.chan].std.init(parent->getIns(chan[c.chan].ins));
if (chan[c.chan].active) {
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: