]> 4ch.mooo.com Git - 16.git/commitdiff
ASS!
authorsparky4 <sparky4@cock.li>
Tue, 7 Jul 2015 04:04:27 +0000 (23:04 -0500)
committersparky4 <sparky4@cock.li>
Tue, 7 Jul 2015 04:04:27 +0000 (23:04 -0500)
modified:   exmmtest.exe
modified:   src/lib/16_mm.c

exmmtest.exe
src/lib/16_mm.c

index e2b4fa1ac29cb904f2be6c78c48d26ac6bb1eac3..4a81b1d60a5186264f06eaf6e79a74d42ff1bc03 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 5c658bb79ff58564bfe2dcd30f790cda40a4324d..1f7593ec9696c43c2971903c059515a14d4b2540 100644 (file)
@@ -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);