From f1819b8c1308c3e724f9cab0400b73db52617773 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 30 Jan 2016 03:59:30 +0100 Subject: [PATCH] Replace read_file instances with retro_read_file --- content.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content.c b/content.c index e29fbd9ca8..ad8721076f 100644 --- a/content.c +++ b/content.c @@ -220,7 +220,7 @@ static bool content_load_state(const char *path) struct sram_block *blocks = NULL; settings_t *settings = config_get_ptr(); global_t *global = global_get_ptr(); - bool ret = read_file(path, &buf, &size); + bool ret = retro_read_file(path, &buf, &size); RARCH_LOG("%s: \"%s\".\n", msg_hash_to_str(MSG_LOADING_STATE), @@ -342,7 +342,7 @@ static bool load_ram_file(ram_type_t *ram) if (mem_info.size == 0 || !mem_info.data) return false; - if (!read_file(ram->path, &buf, &rc)) + if (!retro_read_file(ram->path, &buf, &rc)) return false; if (rc > 0)