diff --git a/src/burner/win32/debugger.cpp b/src/burner/win32/debugger.cpp index b4f42a337..bf5325f8e 100644 --- a/src/burner/win32/debugger.cpp +++ b/src/burner/win32/debugger.cpp @@ -30,6 +30,10 @@ static int nMemdumpAttrib; static bool bBreakpointHit; +#if defined FBA_DEBUG +extern UINT8 DebugCPU_SekInitted; +#endif + struct DbgM68000State { unsigned int a[8]; unsigned int d[8]; unsigned int pc; @@ -1535,6 +1539,10 @@ int DebugCreate() #if defined (FBA_DEBUG) + if (DebugCPU_SekInitted == 0) { + return 1; + } + if (bDrvOkay == 0) { return 1; }