]> 4ch.mooo.com Git - 16.git/blobdiff - 16/src/lib/bitmap.c
16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / 16 / src / lib / bitmap.c
index 4e48cab20ab58206683d0e6c765e0910a236d52b..caeb0111a8e3fc86252e275605d33f903463c0ad 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 = _fmalloc(sizeof(byte*) * ts.ntiles);\r
+       ts.data = malloc(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