mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTVDM]: Improve the dumper a bit.
svn path=/trunk/; revision=63343
This commit is contained in:
parent
ad69b4a3c0
commit
2736ab0dca
1 changed files with 1 additions and 2 deletions
|
@ -400,8 +400,7 @@ VOID DumpMemory(VOID)
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue