Author: hbelusca
Date: Sat May 17 23:55:14 2014
New Revision: 63343
URL:
http://svn.reactos.org/svn/reactos?rev=63343&view=rev
Log:
[NTVDM]: Improve the dumper a bit.
Modified:
trunk/reactos/subsystems/ntvdm/emulator.c
Modified: trunk/reactos/subsystems/ntvdm/emulator.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/emulator.…
==============================================================================
--- trunk/reactos/subsystems/ntvdm/emulator.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/emulator.c [iso-8859-1] Sat May 17 23:55:14 2014
@@ -400,8 +400,7 @@
i = 0;
while (i++ <= 0x0F && (MAX_ADDRESS - (ULONG_PTR)PHYS_TO_REAL(Ptr2)
> 0))
{
- Line += snprintf(Line, LINE_SIZE + LineBuffer - Line, "%c",
- (*Ptr2 >= 0x20 && *Ptr2 <= 0x7E) || (*Ptr2
>= 0x80 && *Ptr2 < 0xFF) ? *Ptr2 : '.');
+ *Line++ = ((*Ptr2 >= 0x20 && *Ptr2 <= 0x7E) || (*Ptr2 >=
0x80 && *Ptr2 < 0xFF) ? *Ptr2 : '.');
++Ptr2;
}