mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Added check for filter_exts in compressed file case (#17149)
This commit is contained in:
parent
5725e48081
commit
e3a0973e30
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user