Add backslash as another frame advance key
Jeffrey Pfau jeffrey@endrift.com
Thu, 07 Aug 2014 00:23:05 -0700
1 files changed,
7 insertions(+),
0 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -86,6 +86,13 @@ return;
case SDLK_TAB: context->sync.audioWait = event->type != SDL_KEYDOWN; return; + case SDLK_BACKSLASH: + if (event->type == SDL_KEYDOWN) { + GBAThreadPause(context); + context->frameCallback = _pauseAfterFrame; + GBAThreadUnpause(context); + } + return; case SDLK_LEFTBRACKET: GBAThreadInterrupt(context); GBARewind(context, 10);