Y8950: fix missing ADPCM chan osc

This commit is contained in:
tildearrow 2023-04-16 02:10:22 -05:00
parent f7f1734c7d
commit af64f9c141
1 changed files with 1 additions and 1 deletions

View File

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