SDL: Fix crash when not in debugger mode
Vicki Pfau vi@endrift.com
Sat, 15 Jul 2017 07:13:28 -0700
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/platform/sdl/main.c
→
src/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) {