mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-13 21:43:28 -05:00
Move PerformanceMetrics from global variable to System
This avoids the static initialization order fiasco between Core and VideoCommon Co-authored-by: Jordan Woyak <jordan.woyak@gmail.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user