summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorOatmealDome <julian@oatmealdome.me>2023-09-04 13:02:17 -0400
committerOatmealDome <julian@oatmealdome.me>2023-09-05 11:50:49 -0400
commit4938b99600da9fc6e1241e6aad476286b74850a9 (patch)
tree44dba6f2bffe93d0494fa1ed72d9b7d27203b7c8 /Source/Core/VideoCommon/VideoConfig.cpp
parentde781a6fa79f466f66b56f161e3e1a15289691b1 (diff)
VertexManagerBase: Allow widecreen heuristic constants to be overriden by onion config
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index a5a6d77728..e2096dfd1f 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -88,6 +88,10 @@ void VideoConfig::Refresh()
suggested_aspect_mode = Config::Get(Config::GFX_SUGGESTED_ASPECT_RATIO);
widescreen_heuristic_transition_threshold =
Config::Get(Config::GFX_WIDESCREEN_HEURISTIC_TRANSITION_THRESHOLD);
+ widescreen_heuristic_aspect_ratio_ideal =
+ Config::Get(Config::GFX_WIDESCREEN_HEURISTIC_ASPECT_RATIO_IDEAL);
+ widescreen_heuristic_aspect_ratio_slop =
+ Config::Get(Config::GFX_WIDESCREEN_HEURISTIC_ASPECT_RATIO_SLOP);
bCrop = Config::Get(Config::GFX_CROP);
iSafeTextureCache_ColorSamples = Config::Get(Config::GFX_SAFE_TEXTURE_CACHE_COLOR_SAMPLES);
bShowFPS = Config::Get(Config::GFX_SHOW_FPS);