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:
ugetab 2009-11-15 01:52:29 +00:00
parent 4681d20481
commit 19b5cf13f5
1 changed files with 2 additions and 7 deletions

View File

@ -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);
}
}