diff options
author | 2008-12-06 16:56:22 +0000 | |
---|---|---|
committer | 2008-12-06 16:56:22 +0000 | |
commit | 282c1db11081839a532aa147f7809789bd5ac107 (patch) | |
tree | 72bf31c30193edb3247cf548621ef3a7efd2641d /src/emu/cpu/m37710/m37710.c | |
parent | 8c09fe8b03f9479de15e4f489cfbc8c4c19a7f95 (diff) |
activecpu_count -= 133
Removed mostly silly uses of activecpu from the CPU cores.
Diffstat (limited to 'src/emu/cpu/m37710/m37710.c')
-rw-r--r-- | src/emu/cpu/m37710/m37710.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/m37710/m37710.c b/src/emu/cpu/m37710/m37710.c index 704e815e082..393a799bb1d 100644 --- a/src/emu/cpu/m37710/m37710.c +++ b/src/emu/cpu/m37710/m37710.c @@ -327,7 +327,7 @@ static void m37710_recalc_timer(m37710i_cpu_struct *cpustate, running_machine *m switch (cpustate->m37710_regs[0x56+timer] & 0x3) { case 0: // timer mode - time = attotime_mul(ATTOTIME_IN_HZ(cpu_get_clock(machine->activecpu)), tscales[cpustate->m37710_regs[tcr[timer]]>>6]); + time = attotime_mul(ATTOTIME_IN_HZ(cpu_get_clock(cpustate->device)), tscales[cpustate->m37710_regs[tcr[timer]]>>6]); time = attotime_mul(time, tval + 1); #if M37710_DEBUG @@ -362,7 +362,7 @@ static void m37710_recalc_timer(m37710i_cpu_struct *cpustate, running_machine *m switch (cpustate->m37710_regs[0x56+timer] & 0x3) { case 0: // timer mode - time = attotime_mul(ATTOTIME_IN_HZ(cpu_get_clock(machine->activecpu)), tscales[cpustate->m37710_regs[tcr[timer]]>>6]); + time = attotime_mul(ATTOTIME_IN_HZ(cpu_get_clock(cpustate->device)), tscales[cpustate->m37710_regs[tcr[timer]]>>6]); time = attotime_mul(time, tval + 1); #if M37710_DEBUG |