Skip to content

Commit

Permalink
Fix error in path_get_size
Browse files Browse the repository at this point in the history
  • Loading branch information
krzys-h committed Jan 16, 2019
1 parent 5a97738 commit f93ae77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libretro-common/file/file_path.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f93ae77

Please sign in to comment.