Added check for filter_exts in compressed file case (#17149)

This commit is contained in:
Cathode Ray Dude 2024-11-02 04:03:50 -07:00 committed by GitHub
parent 5725e48081
commit e3a0973e30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -230,12 +230,12 @@ static int filebrowser_parse(
if (subsystem && runloop_st->subsystem_current_count > 0)
ret = file_archive_get_file_list_noalloc(&str_list,
path,
subsystem->roms[
content_get_subsystem_rom_id()].valid_extensions);
filter_ext ? subsystem->roms[
content_get_subsystem_rom_id()].valid_extensions : NULL);
}
else
ret = file_archive_get_file_list_noalloc(&str_list,
path, exts);
path, filter_ext ? exts : NULL);
}
else if (!string_is_empty(path))
{