(menu_displaylist) Cleanups

This commit is contained in:
twinaphex 2019-04-21 04:09:11 +02:00
parent a150bc27ce
commit 5748de8b1f

View File

@ -4803,14 +4803,10 @@ unsigned menu_displaylist_build_list(file_list_t *list, enum menu_displaylist_ct
PARSE_ONLY_BOOL, false) == 0) PARSE_ONLY_BOOL, false) == 0)
count++; count++;
{ if (menu_displaylist_parse_settings_enum(list,
settings_t *settings = config_get_ptr(); MENU_ENUM_LABEL_PERFCNT_ENABLE,
if (settings->bools.menu_show_advanced_settings) PARSE_ONLY_BOOL, false) == 0)
if (menu_displaylist_parse_settings_enum(list, count++;
MENU_ENUM_LABEL_PERFCNT_ENABLE,
PARSE_ONLY_BOOL, false) == 0)
count++;
}
break; break;
case DISPLAYLIST_REWIND_SETTINGS_LIST: case DISPLAYLIST_REWIND_SETTINGS_LIST:
if (menu_displaylist_parse_settings_enum(list, if (menu_displaylist_parse_settings_enum(list,