]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/bitmap.c
==== PRE SHOWPAGE TO SHOWMV CONVERSION ==== i am going to work on a really big area...
[16.git] / src / lib / bitmap.c
index 6d7f72ed11ce81105f102799a6c2312528d8a556..fba6fb05b06bc1c5982554f5c81107a551e57b2d 100755 (executable)
@@ -184,7 +184,7 @@ bitmapLoadPcxTiles(char *filename, word twidth, word theight) {
        ts.palette = result.palette;\r
 \r
        /* allocate the pixel storage for the tiles */\r
-       ts.data = malloc(sizeof(byte*) * ts.ntiles);\r
+       ts.data = _fmalloc(sizeof(byte*) * ts.ntiles);\r
        //ts.data[0] = malloc(sizeof(byte) * ts.ntiles * twidth * theight);\r
        for(i=1; i < ts.ntiles; i++) {\r
                ts.data[i] = ts.data[i-1] + twidth * theight;\r