]> 4ch.mooo.com Git - 16.git/commitdiff
updating
authorsparky4 <sparky4@cock.li>
Fri, 23 Oct 2015 23:49:04 +0000 (18:49 -0500)
committersparky4 <sparky4@cock.li>
Fri, 23 Oct 2015 23:49:04 +0000 (18:49 -0500)
16.exe
exmmtest.exe
planrpcx.exe
scroll.exe
src/planrpcx.c
test.exe

diff --git a/16.exe b/16.exe
index 795d5f83ba76406b482424322fb2bb8232d9df34..77cd1df8634bfefe01c054a21d7af26092315562 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index b09fe8a1d622c243da62f5da5402fe0b3d42b065..a9fb5f1c209992f163bb00b48ec08b672cfafc19 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 616f4c8dc02c776b16902701b4a5a6e51e292ef7..19a6e87bc104fd18b9f47ad88a61a7dcfa139fab 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index dc7101bb2080f8397d65f73b855b7893b2ee6326..5cf13410b416443a7bd709d40c7520d46278596b 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index 4a8295920fb72b3b9421a3b42c8f55e8de87faf4..04bfef48f001f0fcff7fe2511a1685865b97ae56 100755 (executable)
@@ -42,13 +42,14 @@ void main(int argc, char *argv[])
        sword baka;\r
        char *bakapeee;\r
 \r
-       bakapeee = malloc(64);\r
+       bakapeee = _nmalloc(64);\r
 \r
        if(argv[1]) bakapeee = argv[1];\r
        else bakapeee = "data/koishi~.pcx";\r
 \r
-       if(argv[2]) baka = atoi(argv[2]);\r
-       else baka = 1;\r
+//     if(argv[2]) baka = atoi(argv[2]);\r
+//     else\r
+baka = 1;\r
 \r
        bmp = bitmapLoadPcx(bakapeee);\r
        p = planar_buf_from_bitmap(&bmp);\r
@@ -110,6 +111,7 @@ void main(int argc, char *argv[])
        fprintf(stderr,"%d\n", sizeof(bmp));\r
        fprintf(stderr,"%dx%d\n", gvar.video.page[0].sw-(p->width), gvar.video.page[0].sh-(p->height));\r
        planar_buf_free(p);\r
+       _nfree(bakapeee);\r
        fprintf(stderr, "modexDrawBmp:  %f\n", t1);\r
        fprintf(stderr, "DrawPBuf:      %f\n", t2);\r
        fprintf(stderr, "gvar.video.page[0].width: %u\n", gvar.video.page[0].width);\r
index c29ff3c0ad2ae9c16b0907c597ea0eb83fcc5dd3..6015a52b546d89223245cf3f5a5ad4dfd5183047 100755 (executable)
Binary files a/test.exe and b/test.exe differ