Put missing returns in SDL event handling
Jeffrey Pfau jeffrey@endrift.com
Mon, 10 Feb 2014 23:13:39 -0800
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -91,7 +91,7 @@ case SDLK_F11:
if (event->type == SDL_KEYDOWN && context->debugger) { ARMDebuggerEnter(context->debugger, DEBUGGER_ENTER_MANUAL); } - break; + return; case SDLK_TAB: context->sync.audioWait = event->type != SDL_KEYDOWN; return;@@ -103,6 +103,7 @@ GBARewind(context, 10);
if (!isPaused) { GBAThreadUnpause(context); } + return; default: if (event->type == SDL_KEYDOWN) { if (event->keysym.mod & GUI_MOD) {