[NTVDM]: DPRINT the CPU level for diagnostics purposes.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 4 Oct 2014 00:18:39 +0000 (00:18 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 4 Oct 2014 00:18:39 +0000 (00:18 +0000)
svn path=/trunk/; revision=64517

reactos/subsystems/ntvdm/cpu/cpu.c

index bd74409..bb09cd0 100644 (file)
@@ -124,10 +124,12 @@ VOID CpuSimulate(VOID)
         return;
     }
     CpuCallLevel++;
         return;
     }
     CpuCallLevel++;
+    DPRINT1("CpuSimulate --> Level %d\n", CpuCallLevel);
 
     CpuRunning = TRUE;
     while (VdmRunning && CpuRunning) ClockUpdate();
 
 
     CpuRunning = TRUE;
     while (VdmRunning && CpuRunning) ClockUpdate();
 
+    DPRINT1("CpuSimulate <-- Level %d\n", CpuCallLevel);
     CpuCallLevel--;
     if (CpuCallLevel < 0) CpuCallLevel = 0;
 
     CpuCallLevel--;
     if (CpuCallLevel < 0) CpuCallLevel = 0;