mirror of https://github.com/mgba-emu/mgba.git
Add backslash as another frame advance key
This commit is contained in:
parent
06da7fcb09
commit
f005326800
|
@ -86,6 +86,13 @@ static void _GBASDLHandleKeypress(struct GBAThread* context, struct GBASDLEvents
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue