mirror of
https://github.com/libretro/sameduck.git
synced 2024-11-27 19:20:26 +00:00
Merge commit '7fe86cec59c1143275ffb7fc07b6716ae0116033'
This commit is contained in:
commit
feaa0d0654
@ -216,9 +216,9 @@ static void handle_events(GB_gameboy_t *gb)
|
||||
|
||||
default:
|
||||
/* Save states */
|
||||
if (event.key.keysym.scancode >= SDL_SCANCODE_0 && event.key.keysym.scancode <= SDL_SCANCODE_9) {
|
||||
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_0;
|
||||
command_parameter = event.key.keysym.scancode - SDL_SCANCODE_1;
|
||||
|
||||
if (event.key.keysym.mod & KMOD_SHIFT) {
|
||||
pending_command = GB_SDL_LOAD_STATE_COMMAND;
|
||||
|
Loading…
Reference in New Issue
Block a user