From 60f2b5af7b5b5748f672e968d99338d503b5272e Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Fri, 3 Feb 2023 13:18:37 +1300 Subject: Apply suggestions from code review Co-authored-by: Mai Co-authored-by: BhaaL Co-authored-by: iwubcode --- Source/Core/VideoCommon/Statistics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/Statistics.cpp') diff --git a/Source/Core/VideoCommon/Statistics.cpp b/Source/Core/VideoCommon/Statistics.cpp index ecca851968..231bb470b4 100644 --- a/Source/Core/VideoCommon/Statistics.cpp +++ b/Source/Core/VideoCommon/Statistics.cpp @@ -18,10 +18,10 @@ Statistics g_stats; -static EventHook s_before_frame_event = +static Common::EventHook s_before_frame_event = BeforeFrameEvent::Register([] { g_stats.ResetFrame(); }, "Statistics::ResetFrame"); -static EventHook s_after_frame_event = AfterFrameEvent::Register( +static Common::EventHook s_after_frame_event = AfterFrameEvent::Register( [] { DolphinAnalytics::PerformanceSample perf_sample; perf_sample.speed_ratio = SystemTimers::GetEstimatedEmulationPerformance(); -- cgit v1.2.3