Name slots more predictably
Jeffrey Pfau jeffrey@endrift.com
Wed, 15 Oct 2014 23:26:46 -0700
1 files changed,
2 insertions(+),
4 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -171,9 +171,8 @@ case SDLK_F6:
case SDLK_F7: case SDLK_F8: case SDLK_F9: - case SDLK_F10: GBAThreadInterrupt(context); - GBASaveState(context->gba, context->stateDir, event->keysym.sym - SDLK_F1, true); + GBASaveState(context->gba, context->stateDir, event->keysym.sym - SDLK_F1 + 1, true); GBAThreadContinue(context); break; default:@@ -190,9 +189,8 @@ case SDLK_F6:
case SDLK_F7: case SDLK_F8: case SDLK_F9: - case SDLK_F10: GBAThreadInterrupt(context); - GBALoadState(context->gba, context->stateDir, event->keysym.sym - SDLK_F1); + GBALoadState(context->gba, context->stateDir, event->keysym.sym - SDLK_F1 + 1); GBAThreadContinue(context); break; default: