Files in archives should always be marked as such (#17390)

This commit is contained in:
Eric Warmenhoven 2025-01-10 20:51:04 -05:00 committed by GitHub
parent 9e048d8d77
commit fcda24be29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
{
@ -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);