summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorballoondude2 <55861555+balloondude2@users.noreply.github.com>2025-08-25 13:00:28 -0600
committerGitHub <noreply@github.com>2025-08-25 12:00:28 -0700
commit21e37d9ac2ad14996d7d50585f3ea1682a7467b4 (patch)
tree0b1f6a0e1ebe27b3864582a61876143231328bb2
parent820d097c84efccdbd30fa633df74a422200d5e53 (diff)
Fix the Show Horizontal Resolution Field option v2 (#5744)
* move showHorizontalResField initialization * remove redundant assignment Co-authored-by: Philip Dubé <serprex@users.noreply.github.com> --------- Co-authored-by: Philip Dubé <serprex@users.noreply.github.com>
-rw-r--r--soh/soh/SohGui/ResolutionEditor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/soh/soh/SohGui/ResolutionEditor.cpp b/soh/soh/SohGui/ResolutionEditor.cpp
index d33a7b43c..d3810f6a4 100644
--- a/soh/soh/SohGui/ResolutionEditor.cpp
+++ b/soh/soh/SohGui/ResolutionEditor.cpp
@@ -563,7 +563,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);