SDL: Esc to quit, only on Pandora for now
Jeffrey Pfau jeffrey@endrift.com
Wed, 18 Mar 2015 23:46:13 -0700
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -158,6 +158,11 @@ GBAThreadInterrupt(context);
GBARewind(context, 10); GBAThreadContinue(context); return; +#ifdef BUILD_PANDORA + case SDLK_ESCAPE: + GBAThreadEnd(context); + return; +#endif default: if ((event->keysym.mod & GUI_MOD) && (event->keysym.mod & GUI_MOD) == event->keysym.mod) { switch (event->keysym.sym) {