diff options
| author | 2008-06-24 05:21:19 +0000 | |
|---|---|---|
| committer | 2008-06-24 05:21:19 +0000 | |
| commit | 75a009ac400f52e4ff9371f7f2ea08fe7dc47e0a (patch) | |
| tree | e217dc093061399b7830508f6c3ca6cdaf9768ee /src/emu/debug/debugcpu.c | |
| parent | 2be66a245ca0bd2e3990a1d997674ddc8b921bf1 (diff) | |
Do not stop in the debugger while we are waiting for a pending
event to occur. This eliminates some confusion during reset and
state loading.
Diffstat (limited to 'src/emu/debug/debugcpu.c')
| -rw-r--r-- | src/emu/debug/debugcpu.c | 2 |
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; |
