diff options
author | 2008-02-06 15:33:04 +0000 | |
---|---|---|
committer | 2008-02-06 15:33:04 +0000 | |
commit | abdb58671bca0ec733bff6d670efdf8567863734 (patch) | |
tree | 712c867aeb8179f0a02b4f2e09cb7c4dc1f6905c /src/emu/cpu/mips/mips3com.c | |
parent | e18344a0e78149e3a9046e5b0ffc14da3de93b2c (diff) |
Split timer_adjust() into timer_adjust_oneshot() and timer_adjust_periodic().
Updated all call sites.
Fixed recent build breaks.
Diffstat (limited to 'src/emu/cpu/mips/mips3com.c')
-rw-r--r-- | src/emu/cpu/mips/mips3com.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/mips/mips3com.c b/src/emu/cpu/mips/mips3com.c index 79330a288d3..c1d4b910389 100644 --- a/src/emu/cpu/mips/mips3com.c +++ b/src/emu/cpu/mips/mips3com.c @@ -185,10 +185,10 @@ void mips3com_update_cycle_counting(mips3_state *mips) UINT32 compare = mips->cpr[0][COP0_Compare]; UINT32 cyclesleft = compare - count; attotime newtime = ATTOTIME_IN_CYCLES(((INT64)cyclesleft * 2), cpu_getactivecpu()); - timer_adjust(mips->compare_int_timer, newtime, cpu_getactivecpu(), attotime_zero); + timer_adjust_oneshot(mips->compare_int_timer, newtime, cpu_getactivecpu()); } else - timer_adjust(mips->compare_int_timer, attotime_never, cpu_getactivecpu(), attotime_zero); + timer_adjust_oneshot(mips->compare_int_timer, attotime_never, cpu_getactivecpu()); } |