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

@ -630,7 +630,7 @@ void* DivPlatformYM2610BExt::getChanState(int ch) {
DivMacroInt* DivPlatformYM2610BExt::getChanMacroInt(int ch) {
if (ch>=(psgChanOffs+3) && ch<(adpcmAChanOffs+3)) return ay->getChanMacroInt(ch-psgChanOffs-3);
if (ch>=(extChanOffs+4)) return &chan[ch-3].std;
if (ch>=extChanOffs) return NULL; // currently not implemented
if (ch>=extChanOffs) return &opChan[ch-extChanOffs].std;
return &chan[ch].std;
}