From a23c4e9f6476a1583b2e958e41467b97e5d2e8c2 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Fri, 10 Jan 2025 14:28:21 -0500 Subject: [PATCH] Files in archives should always be marked as such --- libretro-common/file/archive_file.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libretro-common/file/archive_file.c b/libretro-common/file/archive_file.c index 4df2ce51cc68..0b3a6bf1c149 100644 --- a/libretro-common/file/archive_file.c +++ b/libretro-common/file/archive_file.c @@ -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);