From: sparky4 Date: Thu, 2 Jul 2015 17:55:15 +0000 (-0500) Subject: ok exmm works like it should with files~ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=521e7a1f4672eabf05a768328448546cc00dc060;p=16.git ok exmm works like it should with files~ Signed-off-by: sparky4 --- diff --git a/exmmtest.exe b/exmmtest.exe index 8deebf3a..a3e247b8 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/src/exmmtest.c b/src/exmmtest.c index f6fcd506..8c4d33e3 100644 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -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);