SameBoy/SDL
Lothar Serra Mari 7fe86cec59 Fix savestates in SDL2 port
Because SDL_SCANCODE_0 comes *after* SDL_SCANCODE_9 in the SDL keycode
table, we have to check if the keycode is between >=1 and <=0. We also
have to substract SDL_SCANCODE_1 in order to set command_parameter
properly.

Errata: Currently, the savestate created with CTRL+0 is created, but
refuses to load on Windows (working fine on Linux).
2018-04-19 14:52:36 +02:00
..
background.bmp Slightly improved background 2017-12-27 23:20:06 +02:00
font.c Added configurable controls 2017-12-22 22:25:53 +02:00
font.h Better controls and visuals for settings 2017-10-14 17:08:52 +03:00
gui.c Fixed Windows build, added Unicode support in Windows. 2018-03-28 21:59:27 +03:00
gui.h Added model selection GUI in the SDL port. Closes #24 2018-01-13 13:49:20 +02:00
main.c Fix savestates in SDL2 port 2018-04-19 14:52:36 +02:00
opengl_compat.c Better Windows and Linux compatibility 2017-12-29 13:06:38 +02:00
opengl_compat.h Better Windows and Linux compatibility 2017-12-29 13:06:38 +02:00
shader.c Bug fixes in the SDL port 2017-12-30 17:07:05 +02:00
shader.h Better Windows and Linux compatibility 2017-12-29 13:06:38 +02:00
utils.c Use SDL_GetBasePath for better portability 2017-12-28 20:29:15 +02:00
utils.h Cleanup 2017-05-24 21:44:43 +03:00