sdl: fixed a bug introduced in r1744; i think qeed committed changes to an older version of the file or something; all is well now
the bug slowed the emulation speed down to 2%
This commit is contained in:
parent
52f6cdf5be
commit
2f0651c7cc
|
@ -379,11 +379,11 @@ KeyboardCommands()
|
|||
|
||||
char* movie_fname = "";
|
||||
// get the keyboard input
|
||||
#if SDL_VERSION_ATLEAST(1, 3, 0)
|
||||
g_keyState = SDL_GetKeyboardState(NULL);
|
||||
#else
|
||||
g_keyState = SDL_GetKeyState(NULL);
|
||||
if (g_keyState[SDLK_BACKQUOTE])
|
||||
IncreaseEmulationSpeed();
|
||||
else
|
||||
DecreaseEmulationSpeed();
|
||||
#endif
|
||||
|
||||
// check if the family keyboard is enabled
|
||||
if(InputType[2] == SIFC_FKB) {
|
||||
|
|
Loading…
Reference in New Issue