summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6800/m6800.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-02-06 15:33:04 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-02-06 15:33:04 +0000
commitabdb58671bca0ec733bff6d670efdf8567863734 (patch)
tree712c867aeb8179f0a02b4f2e09cb7c4dc1f6905c /src/emu/cpu/m6800/m6800.c
parente18344a0e78149e3a9046e5b0ffc14da3de93b2c (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/m6800/m6800.c')
-rw-r--r--src/emu/cpu/m6800/m6800.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/m6800/m6800.c b/src/emu/cpu/m6800/m6800.c
index 230dd338e14..5beb7e09b5f 100644
--- a/src/emu/cpu/m6800/m6800.c
+++ b/src/emu/cpu/m6800/m6800.c
@@ -2528,8 +2528,8 @@ static WRITE8_HANDLER( m6803_internal_registers_w )
{
int divisor = M6800_RMCR_SS[m6800.rmcr & M6800_RMCR_SS_MASK];
- timer_adjust(m6800_rx_timer, attotime_zero, cpu_getactivecpu(), ATTOTIME_IN_HZ(m6800.clock / divisor));
- timer_adjust(m6800_tx_timer, attotime_zero, cpu_getactivecpu(), ATTOTIME_IN_HZ(m6800.clock / divisor));
+ timer_adjust_periodic(m6800_rx_timer, attotime_zero, cpu_getactivecpu(), ATTOTIME_IN_HZ(m6800.clock / divisor));
+ timer_adjust_periodic(m6800_tx_timer, attotime_zero, cpu_getactivecpu(), ATTOTIME_IN_HZ(m6800.clock / divisor));
}
break;
}