Reorder entries

This commit is contained in:
twinaphex 2015-06-22 09:25:04 +02:00
parent 2e5badeefe
commit df64ff7556

View File

@ -1434,6 +1434,19 @@ static int menu_displaylist_parse_load_core_list(menu_displaylist_info_t *info)
global_t *global = global_get_ptr(); global_t *global = global_get_ptr();
settings_t *settings = config_get_ptr(); settings_t *settings = config_get_ptr();
if (global->core_info && core_info_list_num_info_files(global->core_info))
{
menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_DETECT_CORE_LIST),
menu_hash_to_str(MENU_LABEL_DETECT_CORE_LIST),
MENU_SETTING_ACTION, 0, 0);
}
menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_LOAD_CONTENT),
menu_hash_to_str(MENU_LABEL_LOAD_CONTENT),
MENU_SETTING_ACTION, 0, 0);
#ifdef HAVE_LIBRETRODB #ifdef HAVE_LIBRETRODB
menu_list_push(info->list, menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_CONTENT_COLLECTION_LIST), menu_hash_to_str(MENU_LABEL_VALUE_CONTENT_COLLECTION_LIST),
@ -1449,19 +1462,6 @@ static int menu_displaylist_parse_load_core_list(menu_displaylist_info_t *info)
MENU_SETTING_ACTION, 0, 0); MENU_SETTING_ACTION, 0, 0);
} }
if (global->core_info && core_info_list_num_info_files(global->core_info))
{
menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_DETECT_CORE_LIST),
menu_hash_to_str(MENU_LABEL_DETECT_CORE_LIST),
MENU_SETTING_ACTION, 0, 0);
}
menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_LOAD_CONTENT),
menu_hash_to_str(MENU_LABEL_LOAD_CONTENT),
MENU_SETTING_ACTION, 0, 0);
return 0; return 0;
} }