mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Enable fps limiter
This commit is contained in:
parent
e938d48607
commit
25b5595bc5
1 changed files with 2 additions and 2 deletions
|
|
@ -379,10 +379,10 @@ public:
|
||||||
break;
|
break;
|
||||||
case GS_PLAYING_GAME:
|
case GS_PLAYING_GAME:
|
||||||
if (!IsForegroundApp()) break;
|
if (!IsForegroundApp()) break;
|
||||||
// float ms = (float)CTimer::GetCurrentTimeInCycles() / (float)tickPeriod; //(float)CTimer::GetCyclesPerMillisecond();
|
float ms = (float)CTimer::GetCurrentTimeInCycles() / (float)tickPeriod; //(float)CTimer::GetCyclesPerMillisecond();
|
||||||
// if ( RwInitialised )
|
// if ( RwInitialised )
|
||||||
// {
|
// {
|
||||||
// if (!CMenuManager::m_PrefsFrameLimiter || (1000.0f / (float)RsGlobal.maxFPS) < ms)
|
if (!CMenuManager::m_PrefsFrameLimiter || (1000.0f / (float)RsGlobal.maxFPS) < ms)
|
||||||
RsEventHandler(rsIDLE, (void *)TRUE);
|
RsEventHandler(rsIDLE, (void *)TRUE);
|
||||||
// }
|
// }
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue