Skip to content

Commit

Permalink
Files in archives should always be marked as such
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven committed Jan 10, 2025
1 parent 1e32a1e commit a23c4e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libretro-common/file/archive_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static int file_archive_get_file_list_cb(
struct archive_extract_userdata *userdata)
{
union string_list_elem_attr attr;
attr.i = 0;
attr.i = RARCH_COMPRESSED_FILE_IN_ARCHIVE;

if (valid_exts)
{
Expand Down Expand Up @@ -80,8 +80,6 @@ static int file_archive_get_file_list_cb(
string_list_deinitialize(&ext_list);
return -1;
}

attr.i = RARCH_COMPRESSED_FILE_IN_ARCHIVE;
}

string_list_deinitialize(&ext_list);
Expand Down

0 comments on commit a23c4e9

Please sign in to comment.