From e93699dfd9faad928ac66932437625af5ac157c1 Mon Sep 17 00:00:00 2001 From: Travis Date: Wed, 16 Jul 2025 21:43:00 -0600 Subject: [PATCH] move showHorizontalResField initialization --- soh/soh/SohGui/ResolutionEditor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/soh/soh/SohGui/ResolutionEditor.cpp b/soh/soh/SohGui/ResolutionEditor.cpp index 41026e1e2..396d35ca5 100644 --- a/soh/soh/SohGui/ResolutionEditor.cpp +++ b/soh/soh/SohGui/ResolutionEditor.cpp @@ -79,7 +79,7 @@ static float aspectRatioX; static float aspectRatioY; static int32_t verticalPixelCount; // Additional settings -static bool showHorizontalResField; +static bool showHorizontalResField = false; static int32_t horizontalPixelCount; // Disabling flags static bool disabled_everything; @@ -582,7 +582,6 @@ void UpdateResolutionVars() { verticalPixelCount = CVarGetInteger(CVAR_PREFIX_ADVANCED_RESOLUTION ".VerticalPixelCount", pixelCountPresets[item_pixelCount]); // Additional settings - showHorizontalResField = false; horizontalPixelCount = (verticalPixelCount / aspectRatioY) * aspectRatioX; // Disabling flags disabled_everything = !CVarGetInteger(CVAR_PREFIX_ADVANCED_RESOLUTION ".Enabled", 0);