win32: skip framerate throttling in turbo mode (#853)

This commit is contained in:
OV2 2024-05-12 01:20:34 +02:00
parent 6dd6f1945b
commit f62eb40ac7
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ void WinThrottleFramerate()
static HANDLE throttle_timer = nullptr; static HANDLE throttle_timer = nullptr;
static int64_t PCBase, PCFrameTime, PCFrameTimeNTSC, PCFrameTimePAL, PCStart, PCEnd; static int64_t PCBase, PCFrameTime, PCFrameTimeNTSC, PCFrameTimePAL, PCStart, PCEnd;
if (Settings.SkipFrames != AUTO_FRAMERATE) if (Settings.SkipFrames != AUTO_FRAMERATE || Settings.TurboMode)
return; return;
if (!throttle_timer) if (!throttle_timer)