mirror of https://github.com/snes9xgit/snes9x.git
win32: fix frame count offset
This commit is contained in:
parent
1b8208f4a6
commit
712d2ec062
|
@ -3013,7 +3013,7 @@ void S9xOnSNESPadRead()
|
|||
if (lastTime - lastGUIUpdateTime >= guiUpdateFrequency)
|
||||
{
|
||||
UpdateToolWindows();
|
||||
S9xUpdateFrameCounter();
|
||||
S9xUpdateFrameCounter(-1);
|
||||
InvalidateRect(GUI.hWnd, NULL, FALSE);
|
||||
lastGUIUpdateTime = lastTime;
|
||||
}
|
||||
|
@ -3528,7 +3528,7 @@ int WINAPI WinMain(
|
|||
DWORD lastTime = timeGetTime();
|
||||
if (lastTime - lastGUIUpdateTime >= guiUpdateFrequency) {
|
||||
UpdateToolWindows();
|
||||
S9xUpdateFrameCounter();
|
||||
S9xUpdateFrameCounter(-1);
|
||||
InvalidateRect(GUI.hWnd, NULL, FALSE);
|
||||
lastGUIUpdateTime = lastTime;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue