mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Renderer: Fix throttle-disable (TAB) hotkey when vsync is enabled
This commit is contained in:
parent
ff5e296576
commit
b01df8670f
7 changed files with 18 additions and 16 deletions
|
@ -243,7 +243,7 @@ void Renderer::CheckForConfigChanges()
|
|||
const u32 old_multisamples = g_ActiveConfig.iMultisamples;
|
||||
const int old_anisotropy = g_ActiveConfig.iMaxAnisotropy;
|
||||
const bool old_force_filtering = g_ActiveConfig.bForceFiltering;
|
||||
const bool old_vsync = g_ActiveConfig.IsVSync();
|
||||
const bool old_vsync = g_ActiveConfig.bVSyncActive;
|
||||
const bool old_bbox = g_ActiveConfig.bBBoxEnable;
|
||||
|
||||
UpdateActiveConfig();
|
||||
|
@ -264,7 +264,7 @@ void Renderer::CheckForConfigChanges()
|
|||
changed_bits |= CONFIG_CHANGE_BIT_ANISOTROPY;
|
||||
if (old_force_filtering != g_ActiveConfig.bForceFiltering)
|
||||
changed_bits |= CONFIG_CHANGE_BIT_FORCE_TEXTURE_FILTERING;
|
||||
if (old_vsync != g_ActiveConfig.IsVSync())
|
||||
if (old_vsync != g_ActiveConfig.bVSyncActive)
|
||||
changed_bits |= CONFIG_CHANGE_BIT_VSYNC;
|
||||
if (old_bbox != g_ActiveConfig.bBBoxEnable)
|
||||
changed_bits |= CONFIG_CHANGE_BIT_BBOX;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue