diff options
| author | Scott Mansell <phiren@gmail.com> | 2023-02-03 13:18:37 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2023-02-09 18:36:20 +1300 |
| commit | 60f2b5af7b5b5748f672e968d99338d503b5272e (patch) | |
| tree | 515c5f3bcdbb24e7ab40d5be311db890bc86fbae /Source/Core/VideoCommon/Statistics.cpp | |
| parent | e0a1631659425948a1e25c159307d81bda961018 (diff) | |
Apply suggestions from code review
Co-authored-by: Mai <mathew1800@gmail.com>
Co-authored-by: BhaaL <bhaalsen@gmail.com>
Co-authored-by: iwubcode <iwubcode@users.noreply.github.com>
Diffstat (limited to 'Source/Core/VideoCommon/Statistics.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Statistics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |
