mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-28 05:37:36 -05:00
HW/VideoInterface: Refactor to class.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user