mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-13 20:33:22 +00:00
Fix: iOS cannot go to parent directory.
This commit is contained in:
parent
d262361b97
commit
21944b2e11
@ -364,7 +364,8 @@ void fill_pathname_base(char *out, const char *in_path, size_t size)
|
||||
void fill_pathname_basedir(char *out_dir,
|
||||
const char *in_path, size_t size)
|
||||
{
|
||||
retro_assert(strlcpy(out_dir, in_path, size) < size);
|
||||
if (out_dir != in_path)
|
||||
retro_assert(strlcpy(out_dir, in_path, size) < size);
|
||||
path_basedir(out_dir);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user