mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
HW/VideoInterface: Refactor to class.
This commit is contained in:
parent
2102e64299
commit
069280ddc6
13 changed files with 450 additions and 463 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue