mirror of
https://github.com/mupen64plus/mupen64plus-ui-console.git
synced 2025-04-02 10:52:34 -04:00
disable the debugger in the core if we are not running it in the ui-console, otherwise it will hang forever in the paused state
This commit is contained in:
parent
cbbfeaad14
commit
859dda24f4
1 changed files with 6 additions and 0 deletions
|
@ -1064,6 +1064,12 @@ int main(int argc, char *argv[])
|
|||
SDL_CreateThread(debugger_loop, NULL);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Set Core config parameter to disable debugger */
|
||||
int bEnableDebugger = 0;
|
||||
(*ConfigSetParameter)(l_ConfigCore, "EnableDebugger", M64TYPE_BOOL, &bEnableDebugger);
|
||||
}
|
||||
|
||||
/* run the game */
|
||||
(*CoreDoCommand)(M64CMD_EXECUTE, 0, NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue