mirror of
https://github.com/snes9xgit/snes9x.git
synced 2025-04-02 10:42:16 -04:00
Compare commits
2 commits
6dd6f1945b
...
911b416d28
Author | SHA1 | Date | |
---|---|---|---|
|
911b416d28 | ||
|
f62eb40ac7 |
2 changed files with 6 additions and 1 deletions
|
@ -91,6 +91,11 @@ bool CVulkan::Initialize(HWND hWnd)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (context->swapchain->set_vsync(GUI.Vsync))
|
||||||
|
{
|
||||||
|
context->recreate_swapchain();
|
||||||
|
}
|
||||||
|
|
||||||
simple_output = std::make_unique<Vulkan::SimpleOutput>(context.get(), vk::Format::eR5G6B5UnormPack16);
|
simple_output = std::make_unique<Vulkan::SimpleOutput>(context.get(), vk::Format::eR5G6B5UnormPack16);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -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…
Add table
Reference in a new issue