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:
parent
4e583890ea
commit
4bb3fb48f9
14 changed files with 111 additions and 42 deletions
|
|
@ -452,7 +452,10 @@ void AndroidHostInterface::EmulationThreadLoop(JNIEnv* env)
|
|||
// simulate the system if not paused
|
||||
if (System::IsRunning())
|
||||
{
|
||||
System::RunFrame();
|
||||
if (m_throttler_enabled)
|
||||
System::RunFrames();
|
||||
else
|
||||
System::RunFrame();
|
||||
|
||||
if (m_vibration_enabled)
|
||||
UpdateVibration();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue