summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/tlcs90/tlcs90.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-07-07 21:01:36 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-07-07 21:01:36 +0000
commit20fe094c0e9cacc0ceeaa2f15b0348ed81751fab (patch)
treee44d35618aad60fa43ac4675033b4e47eaf5765c /src/emu/cpu/tlcs90/tlcs90.c
parent65f8a15555ffecb57a65e447e428a4212ec33e4c (diff)
Remove the global clock accessors and cpu_* aliases:
cpu_get_clock -> device_get_clock cpu_set_clock -> device_set_clock cpu_get_clockscale -> device_get_clock_scale cpu_set_clockscale -> device_set_clock_scale Search: device_get_clock([ \t]*)\(([ \t]*)([^)]+) Replace: \3->unscaled_clock\1\(\2 Search: device_set_clock([ \t]*)\(([ \t]*)([^,]+),[ \t]* Replace: \3->set_unscaled_clock\1\(\2 Search: device_get_clock_scale([ \t]*)\(([ \t]*)([^)]+) Replace: \3->clock_scale\1\(\2 Search: device_set_clock_scale([ \t]*)\(([ \t]*)([^,]+),[ \t]* Replace: \3->set_clock_scale\1\(\2
Diffstat (limited to 'src/emu/cpu/tlcs90/tlcs90.c')
-rw-r--r--src/emu/cpu/tlcs90/tlcs90.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/tlcs90/tlcs90.c b/src/emu/cpu/tlcs90/tlcs90.c
index 2f2a7c4f279..90546814cfa 100644
--- a/src/emu/cpu/tlcs90/tlcs90.c
+++ b/src/emu/cpu/tlcs90/tlcs90.c
@@ -2715,7 +2715,7 @@ static CPU_INIT( t90 )
cpustate->program = device->space(AS_PROGRAM);
cpustate->io = device->space(AS_IO);
- cpustate->timer_period = attotime_mul(ATTOTIME_IN_HZ(cpu_get_clock(device)), 8);
+ cpustate->timer_period = attotime_mul(ATTOTIME_IN_HZ(device->unscaled_clock()), 8);
// Reset registers to their initial values