Skip to content

Commit a3c0711

Browse files
committed
Updates
1 parent 5568b4e commit a3c0711

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

samples/formats/png/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ SOURCES_C := \
3232
$(LIBRETRO_COMM_DIR)/file/archive_file.c \
3333
$(LIBRETRO_COMM_DIR)/file/archive_file_zlib.c \
3434
$(LIBRETRO_COMM_DIR)/file/file_path.c \
35+
$(LIBRETRO_COMM_DIR)/file/file_path_io.c \
3536
$(LIBRETRO_COMM_DIR)/streams/file_stream.c \
3637
$(LIBRETRO_COMM_DIR)/vfs/vfs_implementation.c \
38+
$(LIBRETRO_COMM_DIR)/streams/interface_stream.c \
39+
$(LIBRETRO_COMM_DIR)/streams/memory_stream.c \
3740
$(LIBRETRO_COMM_DIR)/streams/trans_stream.c \
3841
$(LIBRETRO_COMM_DIR)/streams/trans_stream_zlib.c \
3942
$(LIBRETRO_COMM_DIR)/streams/trans_stream_pipe.c \

samples/formats/png/rpng_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static bool rpng_load_image_argb(const char *path, uint32_t **data,
6565
goto end;
6666
}
6767

68-
if (!rpng_set_buf_ptr(rpng, (uint8_t*)ptr))
68+
if (!rpng_set_buf_ptr(rpng, (uint8_t*)ptr, file_len))
6969
{
7070
ret = false;
7171
goto end;

0 commit comments

Comments
 (0)