Fix build when PNG support is not enabled
Jeffrey Pfau jeffrey@endrift.com
Mon, 06 Oct 2014 23:38:48 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -77,6 +77,7 @@ if (event->type == SDL_KEYDOWN && context->debugger) {
ARMDebuggerEnter(context->debugger, DEBUGGER_ENTER_MANUAL); } return; +#ifdef USE_PNG case SDLK_F12: if (event->type == SDL_KEYDOWN) { GBAThreadInterrupt(context);@@ -84,6 +85,7 @@ GBAThreadTakeScreenshot(context);
GBAThreadContinue(context); } return; +#endif case SDLK_TAB: context->sync.audioWait = event->type != SDL_KEYDOWN; return;