mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-05 07:01:21 +00:00
tiny drums mode fix
This commit is contained in:
parent
cf1711c45b
commit
56aa4b28fb
1 changed files with 5 additions and 2 deletions
|
@ -405,8 +405,10 @@ int DivPlatformOPLL::dispatch(DivCommand c) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (c.chan>=6) {
|
if (c.chan>=6) {
|
||||||
drums=false;
|
if (drums) {
|
||||||
immWrite(0x0e,0);
|
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));
|
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) {
|
if (chan[i].active) {
|
||||||
chan[i].keyOn=true;
|
chan[i].keyOn=true;
|
||||||
chan[i].freqChanged=true;
|
chan[i].freqChanged=true;
|
||||||
|
chan[i].insChanged=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue