mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 12:40:03 +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,
|
* searching related content. For archived content,
|
||||||
* this is the basename of the archive file without
|
* this is the basename of the archive file without
|
||||||
* extension */
|
* extension */
|
||||||
fill_pathname(name, path_basename(archive_path), "",
|
fill_pathname_base(name, archive_path, sizeof(name));
|
||||||
sizeof(name));
|
path_remove_extension(name);
|
||||||
|
|
||||||
file_info->file_in_archive = true;
|
file_info->file_in_archive = true;
|
||||||
}
|
}
|
||||||
@ -595,8 +595,8 @@ static bool content_file_list_set_info(
|
|||||||
/* For uncompressed content, 'canonical' name/id
|
/* For uncompressed content, 'canonical' name/id
|
||||||
* is the basename of the content file, without
|
* is the basename of the content file, without
|
||||||
* extension */
|
* extension */
|
||||||
fill_pathname(name, path_basename(path), "",
|
fill_pathname_base(name, path, sizeof(name));
|
||||||
sizeof(name));
|
path_remove_extension(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string_is_empty(dir))
|
if (!string_is_empty(dir))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user