Move PerformanceMetrics from global variable to System
This avoids the static initialization order fiasco between Core and VideoCommon Co-authored-by: Jordan Woyak <[email protected]>
This commit is contained in:
1 parent
7a45ede688
commit
f9c3f06f0a
9 files changed
+20
-14
No files matched your search
@@ -895,7 +895,7 @@ void VideoInterfaceManager::EndField(FieldType field, u64 ticks)
|
||||
if (is_vblank_data_wanted)
|
||||
m_system.GetCoreTiming().Throttle(ticks);
|
||||
|
||||
g_perf_metrics.CountVBlank();
|
||||
m_system.GetPerfMetrics().CountVBlank();
|
||||
m_system.GetVideoEvents().vi_end_field_event.Trigger();
|
||||
Core::OnFrameEnd(m_system);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user