summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.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/VideoConfig.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/VideoConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index 51ab90fb7e..e11776d356 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -395,5 +395,5 @@ void CheckForConfigChanges()
// TODO: Move everything else to the ConfigChanged event
}
-static Common::EventHook s_check_config_event =
- AfterFrameEvent::Register([] { CheckForConfigChanges(); }, "CheckForConfigChanges");
+static Common::EventHook s_check_config_event = AfterFrameEvent::Register(
+ [](Core::System&) { CheckForConfigChanges(); }, "CheckForConfigChanges");