summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Widescreen.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2024-01-31 21:16:21 +0100
committerGitHub <noreply@github.com>2024-01-31 21:16:21 +0100
commitda6b5dd38a9441fb550268bbb3f222d71457313b (patch)
treec0215eff5768d36663e4abfbe52290fdcdc97d08 /Source/Core/VideoCommon/Widescreen.cpp
parent18abf7c768c715e4399bb68aec5d623633a1427f (diff)
parent16d8b6e6b3af87e5d7684bf34ca79b765ff44d33 (diff)
Merge pull request #12546 from lioncash/event
VideoCommon/Statistics: Remove global system accessor from s_after_frame_event
Diffstat (limited to 'Source/Core/VideoCommon/Widescreen.cpp')
-rw-r--r--Source/Core/VideoCommon/Widescreen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Widescreen.cpp b/Source/Core/VideoCommon/Widescreen.cpp
index 1b3f6002c8..6cc12c7fc1 100644
--- a/Source/Core/VideoCommon/Widescreen.cpp
+++ b/Source/Core/VideoCommon/Widescreen.cpp
@@ -26,8 +26,8 @@ WidescreenManager::WidescreenManager()
auto& system = Core::System::GetInstance();
if (!system.IsWii())
{
- m_update_widescreen =
- AfterFrameEvent::Register([this] { UpdateWidescreenHeuristic(); }, "WideScreen Heuristic");
+ m_update_widescreen = AfterFrameEvent::Register(
+ [this](Core::System&) { UpdateWidescreenHeuristic(); }, "WideScreen Heuristic");
}
}