summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Widescreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/Widescreen.cpp')
-rw-r--r--Source/Core/VideoCommon/Widescreen.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/Widescreen.cpp b/Source/Core/VideoCommon/Widescreen.cpp
index ac8fa2fcfd..dd1393d309 100644
--- a/Source/Core/VideoCommon/Widescreen.cpp
+++ b/Source/Core/VideoCommon/Widescreen.cpp
@@ -15,10 +15,12 @@ WidescreenManager::WidescreenManager()
{
Update();
- m_config_changed = ConfigChangedEvent::Register([this](u32 bits) {
- if (bits & (CONFIG_CHANGE_BIT_ASPECT_RATIO))
- Update();
- }, "Widescreen");
+ m_config_changed = ConfigChangedEvent::Register(
+ [this](u32 bits) {
+ if (bits & (CONFIG_CHANGE_BIT_ASPECT_RATIO))
+ Update();
+ },
+ "Widescreen");
// VertexManager doesn't maintain statistics in Wii mode.
if (!SConfig::GetInstance().bWii)
@@ -28,7 +30,6 @@ WidescreenManager::WidescreenManager()
}
}
-
void WidescreenManager::Update()
{
if (SConfig::GetInstance().bWii)
@@ -110,4 +111,4 @@ void WidescreenManager::DoState(PointerWrap& p)
{
m_was_orthographically_anamorphic = false;
}
-} \ No newline at end of file
+}