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:
punkrockguy318 2010-05-05 08:29:37 +00:00
parent 52f6cdf5be
commit 2f0651c7cc
1 changed files with 4 additions and 4 deletions

View File

@ -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) {