all repos — mgba @ 5d0ab484573f1c5bb057129374cb1e7b56139393

mGBA Game Boy Advance Emulator

SDL: Fix crash when not in debugger mode
Vicki Pfau vi@endrift.com
Sat, 15 Jul 2017 07:13:28 -0700
commit

5d0ab484573f1c5bb057129374cb1e7b56139393

parent

531d4c7bae4139a0caedbb5b1e83c7e532be0ab8

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/platform/sdl/main.csrc/platform/sdl/main.c

@@ -184,10 +184,10 @@ }

#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) {