GUI: fix debug menu a bit

This commit is contained in:
tildearrow 2022-02-13 15:03:07 -05:00
parent aa0e318543
commit 7c80a88bbf
2 changed files with 63 additions and 40 deletions

View file

@ -723,6 +723,7 @@ void DivPlatformGenesis::toggleRegisterDump(bool enable) {
}
void* DivPlatformGenesis::getChanState(int ch) {
if (ch>5) return psg.getChanState(ch-6);
return &chan[ch];
}