YM2612: fix ExtCh macro one-tick delay

This commit is contained in:
tildearrow 2022-11-09 23:24:03 -05:00
parent 1ebc6aaab4
commit 2c1a1b20de
1 changed files with 2 additions and 2 deletions

View File

@ -462,8 +462,6 @@ void DivPlatformGenesisExt::tick(bool sysTick) {
}
}
DivPlatformGenesis::tick(sysTick);
if (extMode && !noExtMacros) for (int i=0; i<4; i++) {
opChan[i].std.next();
@ -549,6 +547,8 @@ void DivPlatformGenesisExt::tick(bool sysTick) {
}
}
DivPlatformGenesis::tick(sysTick);
bool writeNoteOn=false;
unsigned char writeMask=2;
if (extMode) for (int i=0; i<4; i++) {