Skip to content

Commit

Permalink
Play it on the safe side - go back to some of the code
Browse files Browse the repository at this point in the history
from before
  • Loading branch information
LibretroAdmin committed Jan 7, 2025
1 parent a98ab48 commit e40f405
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/task_content.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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))
Expand Down

0 comments on commit e40f405

Please sign in to comment.