]> 4ch.mooo.com Git - 16.git/commitdiff
hmmm ok
authorsparky4 <sparky4@cock.li>
Mon, 6 Jul 2015 16:45:03 +0000 (11:45 -0500)
committersparky4 <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
src/lib/16_mm.c

index dac6d6dadcf62cdddf9951ce6e7f6e49d32da6c1..941d38e0435860e3676e1d83fd5a773e434208c2 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 9de9d0b8d4951e4746760681057c07e84b07de4a..89c2765f87eba622781d3779a216d1f462a5b3b9 100644 (file)
@@ -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;