mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(RPNG) Fix test compilation, currently fails though
This commit is contained in:
parent
0ff69ec3df
commit
7c0e80a415
2 changed files with 4 additions and 1 deletions
|
@ -32,8 +32,11 @@ SOURCES_C := \
|
|||
$(LIBRETRO_COMM_DIR)/file/archive_file.c \
|
||||
$(LIBRETRO_COMM_DIR)/file/archive_file_zlib.c \
|
||||
$(LIBRETRO_COMM_DIR)/file/file_path.c \
|
||||
$(LIBRETRO_COMM_DIR)/file/file_path_io.c \
|
||||
$(LIBRETRO_COMM_DIR)/streams/file_stream.c \
|
||||
$(LIBRETRO_COMM_DIR)/vfs/vfs_implementation.c \
|
||||
$(LIBRETRO_COMM_DIR)/streams/interface_stream.c \
|
||||
$(LIBRETRO_COMM_DIR)/streams/memory_stream.c \
|
||||
$(LIBRETRO_COMM_DIR)/streams/trans_stream.c \
|
||||
$(LIBRETRO_COMM_DIR)/streams/trans_stream_zlib.c \
|
||||
$(LIBRETRO_COMM_DIR)/streams/trans_stream_pipe.c \
|
||||
|
|
|
@ -65,7 +65,7 @@ static bool rpng_load_image_argb(const char *path, uint32_t **data,
|
|||
goto end;
|
||||
}
|
||||
|
||||
if (!rpng_set_buf_ptr(rpng, (uint8_t*)ptr))
|
||||
if (!rpng_set_buf_ptr(rpng, (uint8_t*)ptr, file_len))
|
||||
{
|
||||
ret = false;
|
||||
goto end;
|
||||
|
|
Loading…
Add table
Reference in a new issue