Skip to content

Commit

Permalink
Added check for filter_exts in compressed file case
Browse files Browse the repository at this point in the history
  • Loading branch information
cathoderaydude authored Nov 2, 2024
1 parent 5725e48 commit 72500c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions menu/menu_displaylist.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 72500c9

Please sign in to comment.