mirror of
https://github.com/reactos/reactos.git
synced 2024-10-24 23:11:33 +00:00
[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:
parent
be62f3c6b3
commit
ab0736d95a
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue