mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 21:11:54 +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;
|
i = 0;
|
||||||
while (i++ <= 0x0F && (MAX_ADDRESS - (ULONG_PTR)PHYS_TO_REAL(Ptr2) > 0))
|
while (i++ <= 0x0F && (MAX_ADDRESS - (ULONG_PTR)PHYS_TO_REAL(Ptr2) > 0))
|
||||||
{
|
{
|
||||||
Line += snprintf(Line, LINE_SIZE + LineBuffer - Line, "%c",
|
*Line++ = ((*Ptr2 >= 0x20 && *Ptr2 <= 0x7E) || (*Ptr2 >= 0x80 && *Ptr2 < 0xFF) ? *Ptr2 : '.');
|
||||||
(*Ptr2 >= 0x20 && *Ptr2 <= 0x7E) || (*Ptr2 >= 0x80 && *Ptr2 < 0xFF) ? *Ptr2 : '.');
|
|
||||||
++Ptr2;
|
++Ptr2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue