summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
-rw-r--r--src/emu/debug/debugcpu.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp
index d0a942b4a21..157446aac76 100644
--- a/src/emu/debug/debugcpu.cpp
+++ b/src/emu/debug/debugcpu.cpp
@@ -1729,8 +1729,8 @@ void device_debug::start_hook(const attotime &endtime)
// check for periodic updates
if (&m_device == global->visiblecpu && osd_ticks() > global->last_periodic_update_time + osd_ticks_per_second()/4)
{
- m_device.machine().debug_view().update_all();
- m_device.machine().debug_view().flush_osd_updates();
+ m_device.machine().debugger().view().update_all();
+ m_device.machine().debugger().view().flush_osd_updates();
global->last_periodic_update_time = osd_ticks();
}
@@ -1869,9 +1869,9 @@ void device_debug::instruction_hook(offs_t curpc)
// update every 100 steps until we are within 200 of the end
else if ((m_flags & DEBUG_FLAG_STEPPING_OUT) == 0 && (m_stepsleft < 200 || m_stepsleft % 100 == 0))
{
- machine.debug_view().update_all();
- machine.debug_view().flush_osd_updates();
- debugger_refresh_display(machine);
+ machine.debugger().view().update_all();
+ machine.debugger().view().flush_osd_updates();
+ machine.debugger().refresh_display();
}
}
}
@@ -1918,15 +1918,15 @@ void device_debug::instruction_hook(offs_t curpc)
global->visiblecpu = &m_device;
// update all views
- machine.debug_view().update_all();
- debugger_refresh_display(m_device.machine());
+ machine.debugger().view().update_all();
+ machine.debugger().refresh_display();
// wait for the debugger; during this time, disable sound output
m_device.machine().sound().debugger_mute(true);
while (global->execution_state == EXECUTION_STATE_STOPPED)
{
// flush any pending updates before waiting again
- machine.debug_view().flush_osd_updates();
+ machine.debugger().view().flush_osd_updates();
// clear the memory modified flag and wait
global->memory_modified = false;
@@ -1937,8 +1937,8 @@ void device_debug::instruction_hook(offs_t curpc)
// if something modified memory, update the screen
if (global->memory_modified)
{
- machine.debug_view().update_all(DVT_DISASSEMBLY);
- debugger_refresh_display(m_device.machine());
+ machine.debugger().view().update_all(DVT_DISASSEMBLY);
+ machine.debugger().refresh_display();
}
// check for commands in the source file