diff options
| author | JosJuice <josjuice@gmail.com> | 2018-11-07 19:01:45 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2018-11-07 19:01:45 +0100 |
| commit | a42432cae4c9a61dad6b0f8681ae6fe1945994a0 (patch) | |
| tree | 24dca12cda18d16ea684b99b1baf853d99175fc2 /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | b93b7ec419464432e03dd91b5b6c61a984a38a4a (diff) | |
RenderBase: Set m_aspect_wide on start
It doesn't feel great to let the value from a previous emulation session
linger around considering that the GC aspect ratio heuristic can use
the previous value of m_aspect_wide when calculating m_aspect_wide.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index 239dd9b04c..2e42ed984a 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -85,6 +85,8 @@ Renderer::Renderer(int backbuffer_width, int backbuffer_height) UpdateDrawRectangle(); CalculateTargetSize(); + m_aspect_wide = SConfig::GetInstance().bWii && Config::Get(Config::SYSCONF_WIDESCREEN); + m_last_host_config_bits = ShaderHostConfig::GetCurrent().bits; m_last_efb_multisamples = g_ActiveConfig.iMultisamples; } |
