mirror of
https://github.com/libretro/RetroArch
synced 2025-03-18 04:21:19 +00:00
Merge pull request #8993 from LazyBumHorse/shader_browser_filter
always filter by extensions in shader (preset) file browser
This commit is contained in:
commit
86065e80ff
@ -85,6 +85,10 @@ void filebrowser_parse(menu_displaylist_info_t *info, unsigned type_data)
|
|||||||
else
|
else
|
||||||
subsystem = subsystem_data + content_get_subsystem();
|
subsystem = subsystem_data + content_get_subsystem();
|
||||||
|
|
||||||
|
if (info && (info->type_default == FILE_TYPE_SHADER_PRESET ||
|
||||||
|
info->type_default == FILE_TYPE_SHADER))
|
||||||
|
filter_ext = true;
|
||||||
|
|
||||||
if (info && string_is_equal(info->label,
|
if (info && string_is_equal(info->label,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_FILE)))
|
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_FILE)))
|
||||||
filter_ext = false;
|
filter_ext = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user