Tweaked timing system on 286+ interpreted CPUs - improves DAC sound quality.
This commit is contained in:
parent
970882c7ac
commit
17ea1ace1c
4 changed files with 7 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue