mirror of
https://github.com/libretro/RetroArch
synced 2025-02-05 15:40:04 +00:00
Play it on the safe side - go back to some of the code
from before
This commit is contained in:
parent
a98ab483cb
commit
e40f405b97
@ -581,8 +581,8 @@ static bool content_file_list_set_info(
|
||||
* searching related content. For archived content,
|
||||
* this is the basename of the archive file without
|
||||
* extension */
|
||||
fill_pathname(name, path_basename(archive_path), "",
|
||||
sizeof(name));
|
||||
fill_pathname_base(name, archive_path, sizeof(name));
|
||||
path_remove_extension(name);
|
||||
|
||||
file_info->file_in_archive = true;
|
||||
}
|
||||
@ -595,8 +595,8 @@ static bool content_file_list_set_info(
|
||||
/* For uncompressed content, 'canonical' name/id
|
||||
* is the basename of the content file, without
|
||||
* extension */
|
||||
fill_pathname(name, path_basename(path), "",
|
||||
sizeof(name));
|
||||
fill_pathname_base(name, path, sizeof(name));
|
||||
path_remove_extension(name);
|
||||
}
|
||||
|
||||
if (!string_is_empty(dir))
|
||||
|
Loading…
x
Reference in New Issue
Block a user