System: Add a new throttler/pacer which can catch up on lost time

This can result in worse frame pacing, so if you have a decent machine
you'll probably want to turn on "display all frames" in display
settings.

But, it's sadly needed for Android.
This commit is contained in:
Connor McLaughlin committed 2021-01-28 21:04:23 +10:00
1 parent 4e583890ea
commit 4bb3fb48f9
14 files changed
+111 -42

No files matched your search

+5 -1
View File
@@ -1856,7 +1856,11 @@ void SDLHostInterface::Run()
if (System::IsRunning())
{
System::RunFrame();
if (m_display_all_frames)
System::RunFrame();
else
System::RunFrames();
UpdateControllerRumble();
if (m_frame_step_request)
{