mirror of
https://github.com/libretro/RetroArch
synced 2025-03-12 13:13:30 +00:00
Use return value of fill_pathname_basedir
This commit is contained in:
parent
56c63b8c19
commit
28f6ee9c26
@ -772,7 +772,7 @@ static int menu_displaylist_parse_core_info(
|
||||
* adjust the path to check for firmware files */
|
||||
if (systemfiles_in_content_dir && content_is_inited)
|
||||
{
|
||||
fill_pathname_basedir(tmp_path,
|
||||
size_t __len = fill_pathname_basedir(tmp_path,
|
||||
path_get(RARCH_PATH_CONTENT),
|
||||
sizeof(tmp_path));
|
||||
|
||||
@ -781,7 +781,6 @@ static int menu_displaylist_parse_core_info(
|
||||
firmware_info.directory.system = settings->paths.directory_system;
|
||||
else
|
||||
{
|
||||
size_t __len = strlen(tmp_path);
|
||||
/* Removes trailing slash (unless root dir), doesn't really matter
|
||||
* but it's more consistent with how the path is stored and
|
||||
* displayed without 'System Files are in Content Directory' */
|
||||
|
Loading…
x
Reference in New Issue
Block a user