Backport more common classes

This commit is contained in:
Connor McLaughlin
2022-07-11 19:45:31 +10:00
parent f6b3652ae6
commit af91fcf195
24 changed files with 1381 additions and 134 deletions

View File

@ -36,7 +36,7 @@ bool HostDisplay::ShouldSkipDisplayingFrame()
if (m_display_frame_interval == 0.0f)
return false;
const u64 now = Common::Timer::GetValue();
const u64 now = Common::Timer::GetCurrentValue();
const double diff = Common::Timer::ConvertValueToSeconds(now - m_last_frame_displayed_time);
if (diff < m_display_frame_interval)
return true;