YM2151: re-enable timer emulation in Nuked-OPM

This commit is contained in:
tildearrow 2022-12-14 16:23:47 -05:00
parent 0cf8fcdf35
commit 2a068ca046
1 changed files with 5 additions and 5 deletions

10
extern/opm/opm.c vendored
View File

@ -1892,9 +1892,9 @@ void OPM_Clock(opm_t *chip, int32_t *output, uint8_t *sh1, uint8_t *sh2, uint8_t
OPM_PhaseCalcIncrement(chip);
OPM_PhaseCalcFNumBlock(chip);
/*OPM_DoTimerIRQ(chip);
OPM_DoTimerIRQ(chip);
OPM_DoTimerA(chip);
OPM_DoTimerB(chip);*/
OPM_DoTimerB(chip);
OPM_DoLFOMult(chip);
OPM_DoLFO1(chip);
OPM_Noise(chip);
@ -1904,10 +1904,10 @@ void OPM_Clock(opm_t *chip, int32_t *output, uint8_t *sh1, uint8_t *sh2, uint8_t
OPM_NoiseTimer(chip);
OPM_KeyOn1(chip);
OPM_DoIO(chip);
/*OPM_DoTimerA2(chip);
OPM_DoTimerB2(chip);*/
OPM_DoTimerA2(chip);
OPM_DoTimerB2(chip);
OPM_DoLFO2(chip);
//OPM_CSM(chip);
OPM_CSM(chip);
OPM_NoiseChannel(chip);
OPM_Output(chip);
OPM_DAC(chip);