OPN: fix 11xx not working on ExtCh

issue #503
This commit is contained in:
tildearrow 2022-05-30 21:21:42 -05:00
parent cafa33f799
commit 2119675b10
5 changed files with 25 additions and 0 deletions

View file

@ -179,6 +179,11 @@ int DivPlatformGenesisExt::dispatch(DivCommand c) {
rWrite(0x22,lfoValue);
break;
}
case DIV_CMD_FM_FB: {
chan[2].state.fb=c.value&7;
rWrite(chanOffs[2]+ADDR_FB_ALG,(chan[2].state.alg&7)|(chan[2].state.fb<<3));
break;
}
case DIV_CMD_FM_MULT: { // TODO
unsigned short baseAddr=chanOffs[2]|opOffs[orderedOps[c.value]];
DivInstrumentFM::Operator& op=chan[2].state.op[orderedOps[c.value]];