[NTVDM]: So..... do not overflow the Cycles count, i.e. better estimate the number of instructions per second :)

svn path=/trunk/; revision=64985
This commit is contained in:
Hermès Bélusca-Maïto
2014-10-25 15:36:11 +00:00
parent be62f3c6b3
commit ab0736d95a
+2 -2
View File
@@ -56,7 +56,7 @@ UINT Irq12Counter = 0;
#ifdef IPS_DISPLAY
DWORD LastCyclePrintout;
DWORD Cycles = 0;
ULONGLONG Cycles = 0;
#endif
/* PUBLIC FUNCTIONS ***********************************************************/
@@ -142,7 +142,7 @@ VOID ClockUpdate(VOID)
{
CpuStep();
#ifdef IPS_DISPLAY
Cycles++;
++Cycles;
#endif
}