OSDN Git Service
(root)
/
proj16
/
16.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91beb73
)
hmmm ok
author
sparky4
<sparky4@cock.li>
Mon, 6 Jul 2015 16:45:03 +0000
(11:45 -0500)
committer
sparky4
<sparky4@cock.li>
Mon, 6 Jul 2015 16:45:03 +0000
(11:45 -0500)
modified: exmmtest.exe
modified: src/lib/16_mm.c
exmmtest.exe
patch
|
blob
|
history
src/lib/16_mm.c
patch
|
blob
|
history
diff --git
a/exmmtest.exe
b/exmmtest.exe
index
dac6d6d
..
941d38e
100644
(file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
diff --git
a/src/lib/16_mm.c
b/src/lib/16_mm.c
index
9de9d0b
..
89c2765
100644
(file)
--- a/
src/lib/16_mm.c
+++ b/
src/lib/16_mm.c
@@
-1045,7
+1045,7
@@
void MM_ShowMemory(mminfo_t *mm)
//CA_OpenDebug ();
- while
(scan)
+ while(scan)
{
if(scan->attributes & PURGEBITS)
color = 5; // dark purple = purgable
@@
-1055,7
+1055,8
@@
void MM_ShowMemory(mminfo_t *mm)
color = 12; // red = locked
if(scan->start<=end)
{
- printf("MM_ShowMemory: Memory block order currupted!");
+ printf("scan->start=%d\n", scan->start);
+ printf("MM_ShowMemory: Memory block order currupted!\n");
return;
}
end = scan->start+scan->length-1;