diff options
| author | 2011-02-06 07:29:03 +0000 | |
|---|---|---|
| committer | 2011-02-06 07:29:03 +0000 | |
| commit | ae5dfca0bf78cf1d3d51107ec29e82629d008fbe (patch) | |
| tree | 686d62bb42e994b060317064d9b42c24176db8a3 /src/emu/debug/debugcpu.c | |
| parent | 4526f1b3a916cc469ab5a0cab9d78bbe5c159cbc (diff) | |
Fix build break from last checkin.
Also replace timer_get_time() with machine->time()
1. Main conversion
timer_get_time( *)\( *([^)]+) *\)
\2->time\1()
2. Cleanup #1
&machine->time
machine.time
3. Cleanup #2
&m_machine->time
m_machine.time
Diffstat (limited to 'src/emu/debug/debugcpu.c')
| -rw-r--r-- | src/emu/debug/debugcpu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index ffaffe99db3..4ca29d4aea6 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -1906,9 +1906,9 @@ void device_debug::instruction_hook(offs_t curpc) if (global->execution_state != EXECUTION_STATE_STOPPED && (m_flags & (DEBUG_FLAG_STOP_TIME | DEBUG_FLAG_STOP_PC | DEBUG_FLAG_LIVE_BP)) != 0) { // see if we hit a target time - if ((m_flags & DEBUG_FLAG_STOP_TIME) != 0 && timer_get_time(&machine) >= m_stoptime) + if ((m_flags & DEBUG_FLAG_STOP_TIME) != 0 && machine.time() >= m_stoptime) { - debug_console_printf(&machine, "Stopped at time interval %.1g\n", timer_get_time(&machine).as_double()); + debug_console_printf(&machine, "Stopped at time interval %.1g\n", machine.time().as_double()); global->execution_state = EXECUTION_STATE_STOPPED; } @@ -2222,7 +2222,7 @@ void device_debug::go_milliseconds(UINT64 milliseconds) assert(m_exec != NULL); - m_stoptime = timer_get_time(m_device.machine) + attotime::from_msec(milliseconds); + m_stoptime = m_device.machine->time() + attotime::from_msec(milliseconds); m_flags |= DEBUG_FLAG_STOP_TIME; global->execution_state = EXECUTION_STATE_RUNNING; } |
