OPL: fix t/hh per-chan osc not being visib in OPL3

This commit is contained in:
tildearrow 2023-01-15 02:10:24 -05:00
parent a3d20ac3fd
commit 6c5f9886fb
1 changed files with 1 additions and 1 deletions

View File

@ -1509,7 +1509,7 @@ DivMacroInt* DivPlatformOPL::getChanMacroInt(int ch) {
}
DivDispatchOscBuffer* DivPlatformOPL::getOscBuffer(int ch) {
if (ch>=18) return NULL;
if (ch>=totalChans) return NULL;
if (oplType==3 && ch<12) {
if (chan[ch&(~1)].fourOp) {
if (ch&1) {