all repos — mgba @ 7b682dd7c53af138c5b1420a1ae058ce6c26c4f2

mGBA Game Boy Advance Emulator

Break into debugger with F11
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Jan 2014 00:37:53 -0800
commit

7b682dd7c53af138c5b1420a1ae058ce6c26c4f2

parent

fbf8edf19bee307810cc212e49bce25c6be32b5d

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M src/platform/sdl/sdl-events.csrc/platform/sdl/sdl-events.c

@@ -51,6 +51,11 @@ break;

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;