mirror of https://github.com/snes9xgit/snes9x.git
win32: fix frame advance hotkey no longer working after 25 days
(fixes #716)
This commit is contained in:
parent
f56b1e7668
commit
bdb27635e0
|
@ -944,7 +944,7 @@ int HandleKeyMessage(WPARAM wParam, LPARAM lParam)
|
|||
&& modifiers == CustomKeys.FrameAdvance.modifiers)
|
||||
{
|
||||
static DWORD lastTime = 0;
|
||||
if((int)(timeGetTime() - lastTime) > 20)
|
||||
if((timeGetTime() - lastTime) > 20)
|
||||
{
|
||||
lastTime = timeGetTime();
|
||||
if(Settings.Paused || GUI.FASkipsNonInput)
|
||||
|
|
Loading…
Reference in New Issue