From 7cc4304918609ff3a09e996ad03c1742dda5ca51 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Wed, 6 Sep 2023 18:44:43 -0500 Subject: VideoCommon: Expose the widescreen heuristic's standard and widescreen ratio values in onion config. --- Source/Core/VideoCommon/VideoConfig.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/VideoConfig.cpp') diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index e2096dfd1f..69f294f827 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -88,10 +88,12 @@ 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); + widescreen_heuristic_standard_ratio = + Config::Get(Config::GFX_WIDESCREEN_HEURISTIC_STANDARD_RATIO); + widescreen_heuristic_widescreen_ratio = + Config::Get(Config::GFX_WIDESCREEN_HEURISTIC_WIDESCREEN_RATIO); bCrop = Config::Get(Config::GFX_CROP); iSafeTextureCache_ColorSamples = Config::Get(Config::GFX_SAFE_TEXTURE_CACHE_COLOR_SAMPLES); bShowFPS = Config::Get(Config::GFX_SHOW_FPS); -- cgit v1.2.3