summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/debugcpu.c')
-rw-r--r--src/emu/debug/debugcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c
index d0ad7d3e977..039024c2728 100644
--- a/src/emu/debug/debugcpu.c
+++ b/src/emu/debug/debugcpu.c
@@ -844,7 +844,7 @@ void mame_debug_hook(offs_t curpc)
}
/* if we are supposed to halt, do it now */
- if (execution_state == EXECUTION_STATE_STOPPED)
+ if (execution_state == EXECUTION_STATE_STOPPED && !mame_is_scheduled_event_pending(Machine) && !mame_is_save_or_load_pending(Machine))
{
/* reset the state */
steps_until_stop = 0;