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