diff --git a/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp b/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp index 3352cf1ba..f71b0ef35 100644 --- a/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp +++ b/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp @@ -2816,11 +2816,12 @@ void VulkanRenderer::SwapBuffers(bool swapTV, bool swapDRC) { SubmitCommandBuffer(); + VSync sync = static_cast(GetConfig().vsync.GetValue()); if (swapTV && IsSwapchainInfoValid(true)) { auto& chain = GetChainInfo(true); chain.SwapBuffers(); - if (chain.m_vsyncState != VSync::SYNC_AND_LIMIT) + if (sync != VSync::SYNC_AND_LIMIT) PresentFrontBuffer(true); } @@ -2828,7 +2829,7 @@ void VulkanRenderer::SwapBuffers(bool swapTV, bool swapDRC) { auto& chain = GetChainInfo(false); chain.SwapBuffers(); - if (chain.m_vsyncState != VSync::SYNC_AND_LIMIT) + if (sync != VSync::SYNC_AND_LIMIT) PresentFrontBuffer(false); }