mirror of https://github.com/mgba-emu/mgba.git
SDL: Fix crash when not in debugger mode
This commit is contained in:
parent
531d4c7bae
commit
5d0ab48457
|
@ -184,10 +184,10 @@ int mSDLRun(struct mSDLRenderer* renderer, struct mArguments* args) {
|
|||
#endif
|
||||
mDebuggerAttach(debugger, renderer->core);
|
||||
mDebuggerEnter(debugger, DEBUGGER_ENTER_MANUAL, NULL);
|
||||
}
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
mScriptBridgeSetDebugger(bridge, debugger);
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
mScriptBridgeSetDebugger(bridge, debugger);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
if (args->patch) {
|
||||
|
|
Loading…
Reference in New Issue