diff --git a/src/engine/platform/opl.cpp b/src/engine/platform/opl.cpp index afaba9f9..ff57f9af 100644 --- a/src/engine/platform/opl.cpp +++ b/src/engine/platform/opl.cpp @@ -1555,7 +1555,11 @@ DivMacroInt* DivPlatformOPL::getChanMacroInt(int ch) { } DivDispatchOscBuffer* DivPlatformOPL::getOscBuffer(int ch) { - if (ch>=totalChans) return NULL; + if (oplType==759) { + if (ch>=totalChans+1) return NULL; + } else { + if (ch>=totalChans) return NULL; + } if (oplType==3 && ch<12) { if (chan[ch&(~1)].fourOp) { if (ch&1) {