- Fix GCC build.

svn path=/trunk/; revision=72478
This commit is contained in:
James Tabor 2016-08-27 23:05:51 +00:00
parent 4966051e96
commit b4743181f7

View file

@ -52,7 +52,9 @@ ULONGLONG CurrentIps = 20000000ULL; // 20 MIPS is a good estimate
static VOID FASTCALL IpsCallback(ULONGLONG ElapsedTime)
{
#ifdef IPS_DISPLAY
static INT NumCalls = 0;
#endif
ULONGLONG NewIps = 10ULL * (CurrentCycleCount - LastCycles) / ElapsedTime;
CurrentIps = (CurrentIps + NewIps) >> 1;