diff options
| author | Filoppi <filippotarpini@hotmail.it> | 2023-12-13 00:27:01 +0200 |
|---|---|---|
| committer | Filoppi <filippotarpini@hotmail.it> | 2023-12-18 02:00:24 +0200 |
| commit | b3aa6ad93b16e026601f2138396db256eadf9fc9 (patch) | |
| tree | 3948b63854d460a359711f36a63bba97d4c0ed96 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | f96bea95d8785453a16572decbc528a778982efd (diff) | |
Video: implement custom aspect ratio support (already exposed to Qt).
This also renamed some variables/functions.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 426d8f7c8b..975b5c0f8d 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -85,6 +85,8 @@ void VideoConfig::Refresh() bWidescreenHack = Config::Get(Config::GFX_WIDESCREEN_HACK); aspect_mode = Config::Get(Config::GFX_ASPECT_RATIO); + custom_aspect_width = Config::Get(Config::GFX_CUSTOM_ASPECT_RATIO_WIDTH); + custom_aspect_height = Config::Get(Config::GFX_CUSTOM_ASPECT_RATIO_HEIGHT); suggested_aspect_mode = Config::Get(Config::GFX_SUGGESTED_ASPECT_RATIO); widescreen_heuristic_transition_threshold = Config::Get(Config::GFX_WIDESCREEN_HEURISTIC_TRANSITION_THRESHOLD); |
