mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +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…
Reference in New Issue
Block a user