Made the debugger window more persistent, both because the debugger can now be opened without a game loaded, and because someone complained about how the debugger closed when you went to File>Close, even though it would return on game load.
This commit is contained in:
parent
4681d20481
commit
19b5cf13f5
|
@ -135,13 +135,7 @@ int storePreferences(char* romname)
|
|||
wasinDebugger = inDebugger;
|
||||
|
||||
// Prevent any attempts at file usage if the debugger is open
|
||||
if (wasinDebugger) {
|
||||
DebuggerExit();
|
||||
}
|
||||
|
||||
while ((inDebugger) || (Counter == 300000)) {
|
||||
Counter++;
|
||||
}
|
||||
// Moved debugger exit code due to complaints and the Debugger menu option being enabled
|
||||
|
||||
if (!debuggerWasActive)
|
||||
{
|
||||
|
@ -185,6 +179,7 @@ int storePreferences(char* romname)
|
|||
void DoDebuggerRunCheck()
|
||||
{
|
||||
if (wasinDebugger){
|
||||
DebuggerExit();
|
||||
DoDebug(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue