diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-03-10 22:14:54 +0100 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-03-11 12:50:35 +0100 |
| commit | 069280ddc6c9bc161a4a003c555f685adbb47f53 (patch) | |
| tree | 31a07285551f17e35fcbcb0b95a59ac380f3d018 /Source/Core/VideoCommon/PerformanceMetrics.cpp | |
| parent | 2102e642999fccc53fd2bfac0cf1bc0e8290b067 (diff) | |
HW/VideoInterface: Refactor to class.
Diffstat (limited to 'Source/Core/VideoCommon/PerformanceMetrics.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PerformanceMetrics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PerformanceMetrics.cpp b/Source/Core/VideoCommon/PerformanceMetrics.cpp index 923860cf8d..a3d41c9872 100644 --- a/Source/Core/VideoCommon/PerformanceMetrics.cpp +++ b/Source/Core/VideoCommon/PerformanceMetrics.cpp @@ -76,7 +76,8 @@ double PerformanceMetrics::GetMaxSpeed() const double PerformanceMetrics::GetLastSpeedDenominator() const { - return DT_s(m_speed_counter.GetLastRawDt()).count() * VideoInterface::GetTargetRefreshRate(); + return DT_s(m_speed_counter.GetLastRawDt()).count() * + Core::System::GetInstance().GetVideoInterface().GetTargetRefreshRate(); } void PerformanceMetrics::DrawImGuiStats(const float backbuffer_scale) |
