always filter by extensions in shader (preset) file browser
This commit is contained in:
parent
37c04932bf
commit
2f96bdfc63
|
@ -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…
Reference in New Issue