mirror of https://github.com/bsnes-emu/bsnes.git
Make save state names consistent across the Cocoa and SDL port
This commit is contained in:
parent
feaa0d0654
commit
bfc96abf8f
|
@ -218,7 +218,7 @@ static void handle_events(GB_gameboy_t *gb)
|
|||
/* Save states */
|
||||
if (event.key.keysym.scancode >= SDL_SCANCODE_1 && event.key.keysym.scancode <= SDL_SCANCODE_0) {
|
||||
if (event.key.keysym.mod & MODIFIER) {
|
||||
command_parameter = event.key.keysym.scancode - SDL_SCANCODE_1;
|
||||
command_parameter = (event.key.keysym.scancode - SDL_SCANCODE_1 + 1) % 10;
|
||||
|
||||
if (event.key.keysym.mod & KMOD_SHIFT) {
|
||||
pending_command = GB_SDL_LOAD_STATE_COMMAND;
|
||||
|
|
Loading…
Reference in New Issue