finish it

This commit is contained in:
tildearrow 2023-08-24 03:05:25 -05:00
parent c9cbf133d6
commit 31335b95c9
15 changed files with 68 additions and 0 deletions

View file

@ -801,6 +801,7 @@ DivMacroInt* DivPlatformGenesisExt::getChanMacroInt(int ch) {
}
unsigned short DivPlatformGenesisExt::getPan(int ch) {
if (ch==csmChan) return 0;
if (ch>=4+extChanOffs) return DivPlatformGenesis::getPan(ch-3);
if (ch>=extChanOffs) return ((opChan[0].pan<<7)&1)|(opChan[0].pan&1);
return DivPlatformGenesis::getPan(ch);