mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-23 19:30:45 +00:00
Merge pull request #2347 from ssangkong/master
Fix: iOS cannot go to parent directory.
This commit is contained in:
commit
53b96c19af
@ -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…
x
Reference in New Issue
Block a user