Break into debugger with F11

This commit is contained in:
Jeffrey Pfau 2014-01-19 00:37:53 -08:00
parent fbf8edf19b
commit 7b682dd7c5
1 changed files with 5 additions and 0 deletions

View File

@ -51,6 +51,11 @@ static void _GBASDLHandleKeypress(struct GBAThread* context, const struct SDL_Ke
case SDLK_RIGHT:
key = GBA_KEY_RIGHT;
break;
case SDLK_F11:
if (event->type == SDL_KEYDOWN) {
ARMDebuggerEnter(context->debugger);
}
break;
case SDLK_TAB:
context->sync.audioWait = !context->sync.audioWait;
return;