Lint fixes

This commit is contained in:
Scott Mansell
2023-02-09 18:36:20 +13:00
parent f7ad825736
commit cf9a6f8477
9 changed files with 17 additions and 25 deletions
+7 -6
View File
@@ -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;
}
}
}