mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
Set new pathname basedir in case extraction_directory has not
been set
This commit is contained in:
parent
f9d819f971
commit
e871d27d7d
@ -408,11 +408,12 @@ static bool load_content(const struct retro_subsystem_info *special,
|
||||
if ((!strcmp(new_basedir, "")) ||
|
||||
!path_is_directory(new_basedir))
|
||||
{
|
||||
RARCH_ERR("Tried extracting to extraction directory, but "
|
||||
RARCH_WARN("Tried extracting to extraction directory, but "
|
||||
"extraction directory was not set or found. "
|
||||
"Setting extraction directory to directory "
|
||||
"derived by basename...\n");
|
||||
rarch_assert(false);
|
||||
fill_pathname_basedir(new_basedir, path_basename(path),
|
||||
sizeof(new_basedir));
|
||||
}
|
||||
|
||||
attributes.i = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user