summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OnScreenUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp')
-rw-r--r--Source/Core/VideoCommon/OnScreenUI.cpp3
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();