diff options
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/OnScreenUI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/OnScreenUI.cpp b/Source/Core/VideoCommon/OnScreenUI.cpp index 0bf669ab96..209e96c9b2 100644 --- a/Source/Core/VideoCommon/OnScreenUI.cpp +++ b/Source/Core/VideoCommon/OnScreenUI.cpp @@ -417,7 +417,8 @@ void OnScreenUI::Finalize() { auto lock = GetImGuiLock(); - g_perf_metrics.DrawImGuiStats(m_backbuffer_scale); + auto& perf_metrics = Core::System::GetInstance().GetPerfMetrics(); + perf_metrics.DrawImGuiStats(m_backbuffer_scale); DrawDebugText(); OSD::DrawMessages(); DrawChallengesAndLeaderboards(); |
