diff options
| author | JMC47 <JMC4789@gmail.com> | 2023-09-05 13:25:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-05 13:25:07 -0400 |
| commit | 76a00551d10a61622f67b6574a7c6f515369ee6c (patch) | |
| tree | 696eb3c3d31d495777d1a224445cfab284b59102 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 9419d92446f4bb47c2192dc0bd3da7c23c611a4f (diff) | |
| parent | 4938b99600da9fc6e1241e6aad476286b74850a9 (diff) | |
Merge pull request #11419 from OatmealDome/widescreen
VideoCommon: Allow widescreen heuristic's constants to be overridden by onion config
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index d9a35b727e..e2096dfd1f 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -86,6 +86,12 @@ void VideoConfig::Refresh() bWidescreenHack = Config::Get(Config::GFX_WIDESCREEN_HACK); aspect_mode = Config::Get(Config::GFX_ASPECT_RATIO); 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); |
