tiny drums mode fix

This commit is contained in:
tildearrow 2022-03-01 23:28:05 -05:00
parent cf1711c45b
commit 56aa4b28fb

View file

@ -405,8 +405,10 @@ int DivPlatformOPLL::dispatch(DivCommand c) {
}
} else {
if (c.chan>=6) {
drums=false;
immWrite(0x0e,0);
if (drums) {
drums=false;
immWrite(0x0e,0);
}
}
rWrite(0x30+c.chan,((15-(chan[c.chan].outVol*(15-chan[c.chan].state.op[1].tl))/15)&15)|(chan[c.chan].state.opllPreset<<4));
}
@ -642,6 +644,7 @@ void DivPlatformOPLL::forceIns() {
if (chan[i].active) {
chan[i].keyOn=true;
chan[i].freqChanged=true;
chan[i].insChanged=true;
}
}
}