OPN/2/A/B: fix ExtCh instrument

issue #1053
This commit is contained in:
tildearrow 2023-08-11 16:14:06 -05:00
parent a917c2f532
commit 6324a2a952
10 changed files with 45 additions and 0 deletions

View file

@ -1125,6 +1125,7 @@ int DivPlatformYM2610::dispatch(DivCommand c) {
}
case DIV_CMD_FM_EXTCH: {
if (extSys) {
if (extMode==(bool)c.value) break;
extMode=c.value;
immWrite(0x27,extMode?0x40:0);
}