diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-08-01 22:37:42 +0800 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-08-11 15:36:31 +0800 |
| commit | b2c41cec0aae76b9680506f336ba3792540e1527 (patch) | |
| tree | 71e3386e67c90a479b206c7bdbb9c0e2d65b131a /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | c900e77ac556c348b0c1c4f114a0cd5e4fc54844 (diff) | |
Config: Include SYSCONF in base layer
Settings that come from the SYSCONF are now included in Dolphin's
config system as part of the base layer. They are handled in a
special way compared to other settings to make sure they are only
loaded from and saved to the SYSCONF (to avoid different, possibly
contradicting sources of truth).
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index 36297ed53e..f1b3093fc5 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -23,6 +23,7 @@ #include "Common/Assert.h" #include "Common/CommonTypes.h" +#include "Common/Config/Config.h" #include "Common/Event.h" #include "Common/FileUtil.h" #include "Common/Flag.h" @@ -33,6 +34,7 @@ #include "Common/Thread.h" #include "Common/Timer.h" +#include "Core/Config/SYSCONFSettings.h" #include "Core/ConfigManager.h" #include "Core/Core.h" #include "Core/CoreTiming.h" @@ -93,9 +95,7 @@ Renderer::Renderer(int backbuffer_width, int backbuffer_height) OSDTime = 0; if (SConfig::GetInstance().bWii) - { - m_aspect_wide = SConfig::GetInstance().m_wii_aspect_ratio != 0; - } + m_aspect_wide = Config::Get(Config::SYSCONF_WIDESCREEN); m_last_host_config_bits = ShaderHostConfig::GetCurrent().bits; } |
