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
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