From 0e6397d14d25e75f3ad69c5c595388007c02656e Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Mon, 30 Jun 2008 15:03:24 +0000 Subject: [PATCH] 01957: Access Violation on hardreset with -debug --- src/osd/windows/debugwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/windows/debugwin.c b/src/osd/windows/debugwin.c index 816a3abd577..92471043977 100644 --- a/src/osd/windows/debugwin.c +++ b/src/osd/windows/debugwin.c @@ -422,7 +422,7 @@ void debugwin_show(int type) void debugwin_update_during_game(void) { // if we're running live, do some checks - if (!debug_cpu_is_stopped(Machine)) + if (!debug_cpu_is_stopped(Machine) && mame_get_phase(Machine) == MAME_PHASE_RUNNING) { // see if the interrupt key is pressed and break if it is temporarily_fake_that_we_are_not_visible = TRUE;