Tweaked timing system on 286+ interpreted CPUs - improves DAC sound quality.

This commit is contained in:
SarahW 2017-09-01 17:08:37 +01:00
commit 17ea1ace1c
4 changed files with 7 additions and 2 deletions

View file

@ -84,7 +84,7 @@ void timer_update_outstanding()
if (*timers[c].enable && *timers[c].count < timer_latch)
timer_latch = *timers[c].count;
}
timer_count = timer_latch = (timer_latch + ((1 << TIMER_SHIFT) - 1)) >> TIMER_SHIFT;
timer_count = timer_latch = (timer_latch + ((1 << TIMER_SHIFT) - 1));
}
void timer_reset()