diff --git a/gfx/video_texture_image.c b/gfx/video_texture_image.c index 3e3d6a5183..df2f65b141 100644 --- a/gfx/video_texture_image.c +++ b/gfx/video_texture_image.c @@ -29,6 +29,7 @@ #include #endif #include +#include #include "../file_ops.h" #include "../general.h" @@ -194,7 +195,7 @@ static bool video_texture_image_load_tga( ssize_t len; void *raw_buf = NULL; uint8_t *buf = NULL; - bool ret = read_file(path, &raw_buf, &len); + bool ret = retro_read_file(path, &raw_buf, &len); if (!ret || len < 0) {