From: sparky4 Date: Fri, 23 Oct 2015 23:49:04 +0000 (-0500) Subject: updating X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=3bedd79984974adb81c9938a62a029f39d92bfef;p=16.git updating --- diff --git a/16.exe b/16.exe index 795d5f83..77cd1df8 100755 Binary files a/16.exe and b/16.exe differ diff --git a/exmmtest.exe b/exmmtest.exe index b09fe8a1..a9fb5f1c 100755 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/planrpcx.exe b/planrpcx.exe index 616f4c8d..19a6e87b 100755 Binary files a/planrpcx.exe and b/planrpcx.exe differ diff --git a/scroll.exe b/scroll.exe index dc7101bb..5cf13410 100755 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/planrpcx.c b/src/planrpcx.c index 4a829592..04bfef48 100755 --- a/src/planrpcx.c +++ b/src/planrpcx.c @@ -42,13 +42,14 @@ void main(int argc, char *argv[]) sword baka; char *bakapeee; - bakapeee = malloc(64); + bakapeee = _nmalloc(64); if(argv[1]) bakapeee = argv[1]; else bakapeee = "data/koishi~.pcx"; - if(argv[2]) baka = atoi(argv[2]); - else baka = 1; +// if(argv[2]) baka = atoi(argv[2]); +// else +baka = 1; bmp = bitmapLoadPcx(bakapeee); p = planar_buf_from_bitmap(&bmp); @@ -110,6 +111,7 @@ void main(int argc, char *argv[]) fprintf(stderr,"%d\n", sizeof(bmp)); fprintf(stderr,"%dx%d\n", gvar.video.page[0].sw-(p->width), gvar.video.page[0].sh-(p->height)); planar_buf_free(p); + _nfree(bakapeee); fprintf(stderr, "modexDrawBmp: %f\n", t1); fprintf(stderr, "DrawPBuf: %f\n", t2); fprintf(stderr, "gvar.video.page[0].width: %u\n", gvar.video.page[0].width); diff --git a/test.exe b/test.exe index c29ff3c0..6015a52b 100755 Binary files a/test.exe and b/test.exe differ