2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 15:44:56 +00:00

TXTR C8 bug fix

This commit is contained in:
Jack Andersen
2015-11-22 13:52:02 -10:00
parent d255610a38
commit 64d62220fe
3 changed files with 3 additions and 3 deletions

View File

@@ -343,7 +343,7 @@ static void DecodeC4(png_structrp png, png_infop info,
static void DecodeC8(png_structrp png, png_infop info, static void DecodeC8(png_structrp png, png_infop info,
const uint8_t* data, int width, int height) const uint8_t* data, int width, int height)
{ {
png_set_IHDR(png, info, width, height, 4, png_set_IHDR(png, info, width, height, 8,
PNG_COLOR_TYPE_PALETTE, PNG_INTERLACE_NONE, PNG_COLOR_TYPE_PALETTE, PNG_INTERLACE_NONE,
PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
const uint8_t* texels = DecodePalette(png, info, 256, data); const uint8_t* texels = DecodePalette(png, info, 256, data);

2
hecl

Submodule hecl updated: 998aac3c52...52b3252c2c