Fix error in path_get_size

This commit is contained in:
krzys-h 2019-01-16 21:03:15 +01:00
parent 5a97738f3e
commit f93ae772f3

View File

@ -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)