diff options
| author | 2016-01-12 12:00:56 +0100 | |
|---|---|---|
| committer | 2016-01-12 12:00:56 +0100 | |
| commit | 807265ed21396f4ae950d144513f02c828bc95d6 (patch) | |
| tree | 756f3dd500ba76cca4b3a86906b320f73289d7e6 /src/emu/debug/debugcpu.cpp | |
| parent | db0bd9e5e5cc2146f5984bcdb7bde44ae660c350 (diff) | |
put debug_view back in machine due to issues with QT (nw)
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
| -rw-r--r-- | src/emu/debug/debugcpu.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp index 157446aac76..82c175251fe 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().debugger().view().update_all(); - m_device.machine().debugger().view().flush_osd_updates(); + m_device.machine().debug_view().update_all(); + m_device.machine().debug_view().flush_osd_updates(); global->last_periodic_update_time = osd_ticks(); } @@ -1869,8 +1869,8 @@ 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.debugger().view().update_all(); - machine.debugger().view().flush_osd_updates(); + machine.debug_view().update_all(); + machine.debug_view().flush_osd_updates(); machine.debugger().refresh_display(); } } @@ -1918,7 +1918,7 @@ void device_debug::instruction_hook(offs_t curpc) global->visiblecpu = &m_device; // update all views - machine.debugger().view().update_all(); + machine.debug_view().update_all(); machine.debugger().refresh_display(); // wait for the debugger; during this time, disable sound output @@ -1926,7 +1926,7 @@ void device_debug::instruction_hook(offs_t curpc) while (global->execution_state == EXECUTION_STATE_STOPPED) { // flush any pending updates before waiting again - machine.debugger().view().flush_osd_updates(); + machine.debug_view().flush_osd_updates(); // clear the memory modified flag and wait global->memory_modified = false; @@ -1937,7 +1937,7 @@ void device_debug::instruction_hook(offs_t curpc) // if something modified memory, update the screen if (global->memory_modified) { - machine.debugger().view().update_all(DVT_DISASSEMBLY); + machine.debug_view().update_all(DVT_DISASSEMBLY); machine.debugger().refresh_display(); } |
