port ExtCh op macro code to OPN family, part 7

This commit is contained in:
tildearrow 2022-12-23 19:06:10 -05:00
parent 75416fc63e
commit dff3ddeb3a
6 changed files with 12 additions and 12 deletions

View file

@ -639,7 +639,7 @@ void* DivPlatformYM2608Ext::getChanState(int ch) {
DivMacroInt* DivPlatformYM2608Ext::getChanMacroInt(int ch) {
if (ch>=9 && ch<12) return ay->getChanMacroInt(ch-9);
if (ch>=6) return &chan[ch-3].std;
if (ch>=2) return NULL; // currently not implemented
if (ch>=2) return &opChan[ch-2].std;
return &chan[ch].std;
}