From d0651bae825c0cf7930b6a9ec1d1a88f47959631 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 19 Sep 2015 01:30:11 +0200 Subject: [PATCH] (RPNG) Buildfix standalone RPNG --- libretro-common/formats/png/Makefile | 1 + libretro-common/formats/png/rpng_test.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libretro-common/formats/png/Makefile b/libretro-common/formats/png/Makefile index 2fa01eb572..765ac4f790 100644 --- a/libretro-common/formats/png/Makefile +++ b/libretro-common/formats/png/Makefile @@ -17,6 +17,7 @@ SOURCES_C := rpng_fbio.c \ ../../file/nbio/nbio_stdio.c \ ../../file/file_extract.c \ ../../file/file_path.c \ + ../../file/retro_file.c \ ../../string/string_list.c OBJS := $(SOURCES_C:.c=.o) diff --git a/libretro-common/formats/png/rpng_test.c b/libretro-common/formats/png/rpng_test.c index 83873bceef..9f9d81e9a7 100644 --- a/libretro-common/formats/png/rpng_test.c +++ b/libretro-common/formats/png/rpng_test.c @@ -62,7 +62,7 @@ static int test_nonblocking_rpng(const char *in_path) if (!rpng_save_image_argb("/tmp/test.png", test_data, 4, 4, 16)) return 1; - if (!rpng_nbio_load_image_argb(in_path, &data, &width, &height)) + if (!rpng_load_image_argb(in_path, &data, &width, &height)) return 2; fprintf(stderr, "Path: %s.\n", in_path);