YM2612: workaround

This commit is contained in:
tildearrow 2022-12-26 13:49:59 -05:00
parent 344fbc06e2
commit 9e47468b53
1 changed files with 2 additions and 0 deletions

View File

@ -575,6 +575,8 @@ int DivPlatformGenesis::dispatch(DivCommand c) {
} else if (chan[c.chan].furnaceDac) {
chan[c.chan].dacMode=0;
rWrite(0x2b,0<<7);
} else if (!chan[c.chan].dacMode) {
rWrite(0x2b,0<<7);
}
}
if (c.chan>=5 && chan[c.chan].dacMode) {