mirror of https://github.com/snes9xgit/snes9x.git
win32: skip framerate throttling in turbo mode (#853)
This commit is contained in:
parent
6dd6f1945b
commit
f62eb40ac7
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue