From f93ae772f3eb2f43c0a70eb1a9722d3794d271f7 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Wed, 16 Jan 2019 21:03:15 +0100 Subject: [PATCH] Fix error in path_get_size --- libretro-common/file/file_path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretro-common/file/file_path.c b/libretro-common/file/file_path.c index 8d9eb8a73c..27f96f34bb 100644 --- a/libretro-common/file/file_path.c +++ b/libretro-common/file/file_path.c @@ -141,8 +141,8 @@ void path_vfs_init(const struct retro_vfs_interface_info* vfs_info) static int path_stat(const char *path, int32_t *size) { if (path_stat_cb != NULL) - return path_stat_cb(path, NULL); - return retro_vfs_stat_impl(path, NULL); + return path_stat_cb(path, size); + return retro_vfs_stat_impl(path, size); } static int path_mkdir_norecurse(const char *dir)