From fdd1934f12f684833e158f1859341f887ab4d447 Mon Sep 17 00:00:00 2001 From: Filoppi Date: Thu, 7 Sep 2023 02:36:31 +0300 Subject: Video: fix Auto Resolution Scale not updating when the window was resized. Also fixes the widescreen hack not fully updating when the aspect ratio setting changed on the spot. --- Source/Core/VideoCommon/VideoConfig.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/VideoCommon/VideoConfig.cpp') diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 975b5c0f8d..d9cb9ad0c3 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -289,6 +289,7 @@ void CheckForConfigChanges() const u32 old_game_mod_changes = g_ActiveConfig.graphics_mod_config ? g_ActiveConfig.graphics_mod_config->GetChangeCount() : 0; const bool old_graphics_mods_enabled = g_ActiveConfig.bGraphicMods; + const AspectMode old_aspect_mode = g_ActiveConfig.aspect_mode; const AspectMode old_suggested_aspect_mode = g_ActiveConfig.suggested_aspect_mode; const bool old_widescreen_hack = g_ActiveConfig.bWidescreenHack; const auto old_post_processing_shader = g_ActiveConfig.sPostProcessingShader; @@ -338,6 +339,8 @@ void CheckForConfigChanges() changed_bits |= CONFIG_CHANGE_BIT_BBOX; if (old_efb_scale != g_ActiveConfig.iEFBScale) changed_bits |= CONFIG_CHANGE_BIT_TARGET_SIZE; + if (old_aspect_mode != g_ActiveConfig.aspect_mode) + changed_bits |= CONFIG_CHANGE_BIT_ASPECT_RATIO; if (old_suggested_aspect_mode != g_ActiveConfig.suggested_aspect_mode) changed_bits |= CONFIG_CHANGE_BIT_ASPECT_RATIO; if (old_widescreen_hack != g_ActiveConfig.bWidescreenHack) -- cgit v1.2.3