System: Include buffer swap time in frame time measurement
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user