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/tlcs90/tlcs90.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/tlcs90/tlcs90.c')
-rw-r--r-- | src/emu/cpu/tlcs90/tlcs90.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/tlcs90/tlcs90.c b/src/emu/cpu/tlcs90/tlcs90.c index eab28658601..644cc7ab6b2 100644 --- a/src/emu/cpu/tlcs90/tlcs90.c +++ b/src/emu/cpu/tlcs90/tlcs90.c @@ -2345,7 +2345,7 @@ static void t90_start_timer(int i) period = attotime_mul(T90.timer_period, prescaler); - timer_adjust(T90.timer[i], period, i, period); + timer_adjust_periodic(T90.timer[i], period, i, period); logerror("%04X: CPU Timer %d started at %lf Hz\n", activecpu_get_pc(), i, 1.0 / attotime_to_double(period)); } @@ -2367,7 +2367,7 @@ static void t90_start_timer4(void) period = attotime_mul(T90.timer_period, prescaler); - timer_adjust(T90.timer[4], period, 4, period); + timer_adjust_periodic(T90.timer[4], period, 4, period); logerror("%04X: CPU Timer 4 started at %lf Hz\n", activecpu_get_pc(), 1.0 / attotime_to_double(period)); } @@ -2375,7 +2375,7 @@ static void t90_start_timer4(void) static void t90_stop_timer(int i) { - timer_adjust(T90.timer[i], attotime_never, i, attotime_zero); + timer_adjust_oneshot(T90.timer[i], attotime_never, i); logerror("%04X: CPU Timer %d stopped\n", activecpu_get_pc(), i); } |