System: Include buffer swap time in frame time measurement

This commit is contained in:
Connor McLaughlin committed 2020-03-24 00:20:56 +10:00
1 parent 9ce63952fb
commit cbb9b96537
3 files changed
+3 -2

No files matched your search

@@ -1438,6 +1438,7 @@ void SDLHostInterface::Run()
if (m_system)
{
m_system->GetGPU()->RestoreGraphicsAPIState();
m_system->UpdatePerformanceCounters();
if (m_speed_limiter_enabled)
m_system->Throttle();