Disable Vsync while holding tab to disable the frame limit, and allow toggling vsync while emulation is running in OGL.

D3D9 still doesn't support changing vsync while emulation is running.

Fixes issue 6111.
This commit is contained in:
Rachel Bryk
2013-03-18 20:41:45 -04:00
parent c5033e8594
commit 7c2c4662a7
7 changed files with 19 additions and 3 deletions

View File

@ -520,7 +520,7 @@ void EndFrame()
void Present()
{
// TODO: Is 1 the correct value for vsyncing?
swapchain->Present((UINT)g_ActiveConfig.bVSync, 0);
swapchain->Present((UINT)g_ActiveConfig.IsVSync(), 0);
}
} // namespace D3D