Fix memory dump where length is not a multiple of 4.
This commit is contained in:
parent
7f9baba139
commit
501d951123
|
@ -1959,7 +1959,11 @@ void SPY_DumpMem (LPSTR header, UINT *q, INT len)
|
|||
header, i, *q, *(q+1), *(q+2), *(q+3));
|
||||
q += 4;
|
||||
}
|
||||
switch (len - i) {
|
||||
switch ((len - i + 3) & (~3)) {
|
||||
case 16:
|
||||
TRACE("%s [%04x] %08x %08x %08x %08x\n",
|
||||
header, i, *q, *(q+1), *(q+2), *(q+3));
|
||||
break;
|
||||
case 12:
|
||||
TRACE("%s [%04x] %08x %08x %08x\n",
|
||||
header, i, *q, *(q+1), *(q+2));
|
||||
|
|
Loading…
Reference in New Issue