video_texture_image_load_tga - use retro_read_file instead

This commit is contained in:
twinaphex 2016-01-30 03:54:28 +01:00
parent 04c17f1f9a
commit 9371d3ae48

View File

@ -29,6 +29,7 @@
#include <formats/rpng.h>
#endif
#include <formats/tga.h>
#include <retro_file.h>
#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)
{