Fix non-debugger build
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Jan 2014 01:24:29 -0800
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -51,11 +51,13 @@ break;
case SDLK_RIGHT: key = GBA_KEY_RIGHT; break; +#ifdef USE_DEBUGGER case SDLK_F11: - if (event->type == SDL_KEYDOWN) { + if (event->type == SDL_KEYDOWN && context->debugger) { ARMDebuggerEnter(context->debugger); } break; +#endif case SDLK_TAB: context->sync.audioWait = !context->sync.audioWait; return;