mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(png/rpng.c) Cleanup
This commit is contained in:
parent
af91764fc8
commit
8da734c921
@ -674,7 +674,7 @@ bool rpng_load_image_argb_iterate(FILE *file, struct png_chunk *chunk,
|
||||
if (fread(&palette, 3, entries, file) != entries)
|
||||
return false;
|
||||
|
||||
if (!png_read_plte_into_buf(palette, chunk->size / 3))
|
||||
if (!png_read_plte_into_buf(palette, entries))
|
||||
return false;
|
||||
|
||||
*increment_size = sizeof(uint32_t);
|
||||
|
Loading…
x
Reference in New Issue
Block a user