diff options
| author | 2021-04-13 01:34:43 -0700 | |
|---|---|---|
| committer | 2021-04-13 01:34:43 -0700 | |
| commit | 98bd78ce3c3e337469b8fbe64596d0dbb51d5776 (patch) | |
| tree | 7517ef4524efcc48f9e4adc5d3b17940cae342d4 /src/emu/debug/debugcpu.cpp | |
| parent | 8e7dc3d9357a4f498fc570508f6e88ee01394476 (diff) | |
Save states working again. Changed to save persistent timers directly, using the save buffer only for transient timers. Now saving quantum state as well. Switched to using an array for that.
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
| -rw-r--r-- | src/emu/debug/debugcpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp index cf1d8eb5318..7d12eff74f6 100644 --- a/src/emu/debug/debugcpu.cpp +++ b/src/emu/debug/debugcpu.cpp @@ -835,7 +835,7 @@ void device_debug::instruction_hook(offs_t curpc) machine.debugger().console().process_source_file(); // if an event got scheduled, resume - if (machine.scheduled_event_pending()) + if (machine.exit_or_hard_reset_pending()) debugcpu.set_execution_running(); } machine.sound().debugger_mute(false); @@ -1597,7 +1597,7 @@ void device_debug::compute_debug_flags() machine.debug_flags |= DEBUG_FLAG_ENABLED; // if we are ignoring this CPU, or if events are pending, we're done - if ((m_flags & DEBUG_FLAG_OBSERVING) == 0 || machine.scheduled_event_pending() || machine.save_or_load_pending()) + if ((m_flags & DEBUG_FLAG_OBSERVING) == 0 || machine.exit_or_hard_reset_pending() || machine.save_or_load_pending()) return; // if we're stopped, keep calling the hook |
