From: sparky4 Date: Fri, 3 Jul 2015 07:24:04 +0000 (-0500) Subject: ass! wwww much work is needed! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=fc518cab7f651b2d63c7be5c04bc1b3670a3b1d8;p=16.git ass! wwww much work is needed! modified: exmmtest.exe modified: src/lib/16_mm.c --- diff --git a/exmmtest.exe b/exmmtest.exe index 32084dc7..da99e03d 100644 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 355a4c79..383ec662 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -508,7 +508,7 @@ void MML_ClearBlock(mminfo_t *mm) scan = scan->next; } - printf("MM_ClearBlock: No purgable blocks!"); + printf("MM_ClearBlock: No purgable blocks!\n"); } @@ -1096,7 +1096,7 @@ dword MM_UnusedMemory(mminfo_t *mm) while(scan->next) { - free += (dword)scan->next->start - (scan->start + scan->length); + free += scan->next->start - (scan->start + scan->length); scan = scan->next; } @@ -1128,8 +1128,8 @@ dword MM_TotalFree(mminfo_t *mm) while(scan->next) { if((scan->attributes&PURGEBITS) && !(scan->attributes&LOCKBIT)) - free += (dword)scan->length; - free += (dword)scan->next->start - (scan->start + scan->length); + free += scan->length; + free += scan->next->start - (scan->start + scan->length); scan = scan->next; }