Revert linear heap sizes, fix closing file in LoadPCX

This commit is contained in:
Steam Deck User 2023-01-12 18:59:57 -05:00
parent 9d0a62acec
commit 1e93559078

View file

@ -1875,6 +1875,8 @@ byte* LoadPCX (FILE *f, int matchwidth, int matchheight)
}
image_width = pcx->xmax+1;
image_height = pcx->ymax+1;
fclose(f);
return image_rgba;
}