]> 4ch.mooo.com Git - 16.git/commitdiff
ok exmm works like it should with files~
authorsparky4 <sparky4@cock.li>
Thu, 2 Jul 2015 17:55:15 +0000 (12:55 -0500)
committersparky4 <sparky4@cock.li>
Thu, 2 Jul 2015 17:55:15 +0000 (12:55 -0500)
Signed-off-by: sparky4 <sparky4@cock.li>
exmmtest.exe
src/exmmtest.c

index 8deebf3a63b8b79213f77c1810a7336ab8c9c0ca..a3e247b8ed4b27e94d5cfa097f88326cb87c2e19 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index f6fcd5065f577c30c7ba6a8ab2cbda7e89cd4bbd..8c4d33e3074f297a2c81b540941994a378434ba4 100644 (file)
@@ -36,7 +36,8 @@ main(int argc, char *argv[])
        MM_Startup(&mm, &mmi);
        printf("done!\n");
        printf("&main()=%Fp\n", *argv[0]);
-       MM_GetPtr(&bigbuffer, mmi.nearheap, &mm, &mmi);
+       if(CA_LoadFile("data/chikyuu.pcx", &bigbuffer, &mm, &mmi)) printf("\nyay!\n");
+       //MM_GetPtr(&bigbuffer, mmi.nearheap, &mm, &mmi);
        //hmm functions in cache system use the buffered stuff
        printf("size of big buffer~=%ul\n", _bmsize(segu, bigbuffer));
        MM_ShowMemory(&mm);