From: sparky4 Date: Tue, 7 Jul 2015 04:04:27 +0000 (-0500) Subject: ASS! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=c3ce6abee3c0bcd794b948b897980843b6378173;p=16.git ASS! modified: exmmtest.exe modified: src/lib/16_mm.c --- diff --git a/exmmtest.exe b/exmmtest.exe index e2b4fa1a..4a81b1d6 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 5c658bb7..1f7593ec 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -441,7 +441,7 @@ void MML_UseSpace(/*d*/word segstart, dword seglength, mminfo_t *mm) //find out how many blocks it span! if(seglength>0xfffflu) { - scan->segm=seglength/0xfffflu; + scan->segm=seglength/0xffffu; } else scan->segm=1; @@ -463,7 +463,7 @@ void MML_UseSpace(/*d*/word segstart, dword seglength, mminfo_t *mm) printf("segm=%u ", scan->segm); printf("ex=%lu ", extra); printf("len=%u ", scan->length); -printf("segsta=%u ", segstart); +printf("segsta=%x ", segstart); printf("seglen=%lu\n", seglength); //MML_UseSpace(?segstart?, ?length?, mm);