[Project64] Limitor not working properly on android

This commit is contained in:
zilmar 2016-08-13 09:28:07 +10:00
parent 62d28132ed
commit 4f0ca48090
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="emu.project64" android:versionCode="2" android:versionName="1.0" >
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="emu.project64" android:versionCode="3" android:versionName="1.0" >
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />

View File

@ -55,7 +55,9 @@ bool CSpeedLimiter::Timer_Process(uint32_t * FrameRate)
int32_t time = (int)(CalculatedTime - CurrentTime.Value());
if (time > 0)
{
#ifndef ANDROID
pjutil::Sleep(time);
#endif
}
/* Refresh current time */
CurrentTime.SetToNow();