Fix build actually

This commit is contained in:
cam900 2022-02-27 06:40:13 +09:00
parent d64ddaadee
commit 34405de03c

View file

@ -565,7 +565,7 @@ int DivPlatformYM2610B::dispatch(DivCommand c) {
chan[c.chan].state=ins->fm; chan[c.chan].state=ins->fm;
} }
for (int i=0; i<6; i++) { for (int i=0; i<4; i++) {
unsigned short baseAddr=chanOffs[c.chan]|opOffs[i]; unsigned short baseAddr=chanOffs[c.chan]|opOffs[i];
DivInstrumentFM::Operator& op=chan[c.chan].state.op[i]; DivInstrumentFM::Operator& op=chan[c.chan].state.op[i];
if (isOutput[chan[c.chan].state.alg][i]) { if (isOutput[chan[c.chan].state.alg][i]) {