diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-06-01 16:52:40 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-06-01 17:32:34 +0200 |
commit | d930a25d942fb0a94d9df0bc0d3eaf76fbc03658 (patch) | |
tree | 102e2f6c98538dca669b94fa05eb5615f44d7c45 /src/core/Timer.cpp | |
parent | Merge pull request #608 from Nick007J/miami (diff) | |
download | re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar.gz re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar.bz2 re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar.lz re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar.xz re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar.zst re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.zip |
Diffstat (limited to 'src/core/Timer.cpp')
-rw-r--r-- | src/core/Timer.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/Timer.cpp b/src/core/Timer.cpp index ed5580fd..f60adf07 100644 --- a/src/core/Timer.cpp +++ b/src/core/Timer.cpp @@ -7,7 +7,8 @@ #include "Timer.h" uint32 CTimer::m_snTimeInMilliseconds; -uint32 CTimer::m_snTimeInMillisecondsPauseMode = 1; +PauseModeTime CTimer::m_snTimeInMillisecondsPauseMode = 1; + uint32 CTimer::m_snTimeInMillisecondsNonClipped; uint32 CTimer::m_snPreviousTimeInMilliseconds; uint32 CTimer::m_FrameCounter; @@ -33,7 +34,7 @@ RsTimerType suspendPcTimer; uint32 suspendDepth; -#ifdef FIX_BUGS +#ifdef FIX_HIGH_FPS_BUGS_ON_FRONTEND double frameTime; #endif @@ -97,7 +98,7 @@ void CTimer::Update(void) float updInCyclesScaled = updInCycles * ms_fTimeScale; // We need that real frame time to fix transparent menu bug. -#ifndef FIX_BUGS +#ifndef FIX_HIGH_FPS_BUGS_ON_FRONTEND double #endif frameTime = updInCyclesScaled / (double)_nCyclesPerMS; @@ -121,7 +122,7 @@ void CTimer::Update(void) RsTimerType updInMs = timer - oldPcTimer; // We need that real frame time to fix transparent menu bug. -#ifndef FIX_BUGS +#ifndef FIX_HIGH_FPS_BUGS_ON_FRONTEND double #endif frameTime = (double)updInMs * ms_fTimeScale; |