mirror of https://github.com/mgba-emu/mgba.git
Break into debugger with F11
This commit is contained in:
parent
fbf8edf19b
commit
7b682dd7c5
|
@ -51,6 +51,11 @@ static void _GBASDLHandleKeypress(struct GBAThread* context, const struct SDL_Ke
|
||||||
case SDLK_RIGHT:
|
case SDLK_RIGHT:
|
||||||
key = GBA_KEY_RIGHT;
|
key = GBA_KEY_RIGHT;
|
||||||
break;
|
break;
|
||||||
|
case SDLK_F11:
|
||||||
|
if (event->type == SDL_KEYDOWN) {
|
||||||
|
ARMDebuggerEnter(context->debugger);
|
||||||
|
}
|
||||||
|
break;
|
||||||
case SDLK_TAB:
|
case SDLK_TAB:
|
||||||
context->sync.audioWait = !context->sync.audioWait;
|
context->sync.audioWait = !context->sync.audioWait;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue