Skip to content

Commit

Permalink
Use return value of fill_pathname_basedir
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Dec 30, 2024
1 parent 56c63b8 commit 28f6ee9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions menu/menu_displaylist.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand All @@ -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' */
Expand Down

0 comments on commit 28f6ee9

Please sign in to comment.