summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2019-02-23 16:00:18 +0100
committerJosJuice <josjuice@gmail.com>2019-02-23 16:00:18 +0100
commitea7b96342bcb58b6b8c5aa835e0f8b2173fbbbfb (patch)
tree6ff0f4b75f9a2819ccee02c50107219d343796f0 /Source/Core/VideoCommon/VideoConfig.cpp
parent286aafd4ed2949f0b93230fee969c6a32fe75f07 (diff)
VideoConfig: Don't overwrite aspect_mode with suggested_aspect_mode
Unnecessary since b93b7ec. It was needed before that commit becase RenderBase.cpp only was checking the value of aspect_mode, not suggested_aspect_mode.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index b7b8b3203f..a849c7c784 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -74,12 +74,8 @@ void VideoConfig::Refresh()
iAdapter = Config::Get(Config::GFX_ADAPTER);
bWidescreenHack = Config::Get(Config::GFX_WIDESCREEN_HACK);
- const AspectMode config_aspect_mode = Config::Get(Config::GFX_ASPECT_RATIO);
+ aspect_mode = Config::Get(Config::GFX_ASPECT_RATIO);
suggested_aspect_mode = Config::Get(Config::GFX_SUGGESTED_ASPECT_RATIO);
- if (config_aspect_mode == AspectMode::Auto)
- aspect_mode = suggested_aspect_mode;
- else
- aspect_mode = config_aspect_mode;
bCrop = Config::Get(Config::GFX_CROP);
iSafeTextureCache_ColorSamples = Config::Get(Config::GFX_SAFE_TEXTURE_CACHE_COLOR_SAMPLES);
bShowFPS = Config::Get(Config::GFX_SHOW_FPS);