Y8950: fix missing ADPCM chan osc

This commit is contained in:
tildearrow 2023-04-16 02:10:22 -05:00
parent f7f1734c7d
commit af64f9c141

View file

@ -1558,7 +1558,7 @@ DivMacroInt* DivPlatformOPL::getChanMacroInt(int ch) {
} }
DivDispatchOscBuffer* DivPlatformOPL::getOscBuffer(int ch) { DivDispatchOscBuffer* DivPlatformOPL::getOscBuffer(int ch) {
if (oplType==759) { if (oplType==759 || chipType==8950) {
if (ch>=totalChans+1) return NULL; if (ch>=totalChans+1) return NULL;
} else { } else {
if (ch>=totalChans) return NULL; if (ch>=totalChans) return NULL;