parent
e6fc4220fa
commit
5a97738f3e
|
@ -142,7 +142,6 @@ static int path_stat(const char *path, int32_t *size)
|
||||||
{
|
{
|
||||||
if (path_stat_cb != NULL)
|
if (path_stat_cb != NULL)
|
||||||
return path_stat_cb(path, NULL);
|
return path_stat_cb(path, NULL);
|
||||||
else
|
|
||||||
return retro_vfs_stat_impl(path, NULL);
|
return retro_vfs_stat_impl(path, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -150,7 +149,6 @@ static int path_mkdir_norecurse(const char *dir)
|
||||||
{
|
{
|
||||||
if (path_mkdir_cb != NULL)
|
if (path_mkdir_cb != NULL)
|
||||||
return path_mkdir_cb(dir);
|
return path_mkdir_cb(dir);
|
||||||
else
|
|
||||||
return retro_vfs_mkdir_impl(dir);
|
return retro_vfs_mkdir_impl(dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,6 @@ struct RDIR *retro_opendir_include_hidden(const char *name, bool include_hidden)
|
||||||
{
|
{
|
||||||
if (dirent_opendir_cb != NULL)
|
if (dirent_opendir_cb != NULL)
|
||||||
return (struct RDIR *)dirent_opendir_cb(name, include_hidden);
|
return (struct RDIR *)dirent_opendir_cb(name, include_hidden);
|
||||||
else
|
|
||||||
return (struct RDIR *)retro_vfs_opendir_impl(name, include_hidden);
|
return (struct RDIR *)retro_vfs_opendir_impl(name, include_hidden);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,7 +81,6 @@ int retro_readdir(struct RDIR *rdir)
|
||||||
{
|
{
|
||||||
if (dirent_readdir_cb != NULL)
|
if (dirent_readdir_cb != NULL)
|
||||||
return dirent_readdir_cb((struct retro_vfs_dir_handle *)rdir);
|
return dirent_readdir_cb((struct retro_vfs_dir_handle *)rdir);
|
||||||
else
|
|
||||||
return retro_vfs_readdir_impl((struct retro_vfs_dir_handle *)rdir);
|
return retro_vfs_readdir_impl((struct retro_vfs_dir_handle *)rdir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,7 +88,6 @@ const char *retro_dirent_get_name(struct RDIR *rdir)
|
||||||
{
|
{
|
||||||
if (dirent_dirent_get_name_cb != NULL)
|
if (dirent_dirent_get_name_cb != NULL)
|
||||||
return dirent_dirent_get_name_cb((struct retro_vfs_dir_handle *)rdir);
|
return dirent_dirent_get_name_cb((struct retro_vfs_dir_handle *)rdir);
|
||||||
else
|
|
||||||
return retro_vfs_dirent_get_name_impl((struct retro_vfs_dir_handle *)rdir);
|
return retro_vfs_dirent_get_name_impl((struct retro_vfs_dir_handle *)rdir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,7 +106,6 @@ bool retro_dirent_is_dir(struct RDIR *rdir, const char *unused)
|
||||||
{
|
{
|
||||||
if (dirent_dirent_is_dir_cb != NULL)
|
if (dirent_dirent_is_dir_cb != NULL)
|
||||||
return dirent_dirent_is_dir_cb((struct retro_vfs_dir_handle *)rdir);
|
return dirent_dirent_is_dir_cb((struct retro_vfs_dir_handle *)rdir);
|
||||||
else
|
|
||||||
return retro_vfs_dirent_is_dir_impl((struct retro_vfs_dir_handle *)rdir);
|
return retro_vfs_dirent_is_dir_impl((struct retro_vfs_dir_handle *)rdir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue