From 34405de03c27cfc142a42df9a7590bb8914d0aca Mon Sep 17 00:00:00 2001 From: cam900 Date: Sun, 27 Feb 2022 06:40:13 +0900 Subject: [PATCH] Fix build actually --- src/engine/platform/ym2610b.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/platform/ym2610b.cpp b/src/engine/platform/ym2610b.cpp index 839811920..770454a8d 100644 --- a/src/engine/platform/ym2610b.cpp +++ b/src/engine/platform/ym2610b.cpp @@ -565,7 +565,7 @@ int DivPlatformYM2610B::dispatch(DivCommand c) { 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]; DivInstrumentFM::Operator& op=chan[c.chan].state.op[i]; if (isOutput[chan[c.chan].state.alg][i]) {