[Project64] Limitor not working properly on android
This commit is contained in:
parent
62d28132ed
commit
4f0ca48090
|
@ -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" />
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue