mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Merge pull request #2349 from ssangkong/patch-2
Fix: iOS cannot go to parent directory.
This commit is contained in:
commit
2b6acbabb8
@ -381,7 +381,8 @@ void fill_pathname_basedir(char *out_dir,
|
||||
void fill_pathname_parent_dir(char *out_dir,
|
||||
const char *in_dir, size_t size)
|
||||
{
|
||||
retro_assert(strlcpy(out_dir, in_dir, size) < size);
|
||||
if (out_dir != in_dir)
|
||||
retro_assert(strlcpy(out_dir, in_dir, size) < size);
|
||||
path_parent_dir(out_dir);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user