From 87d58536910cc8df314a9263f4dccd52be7ea5c9 Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Wed, 21 Dec 2016 12:32:43 -0700 Subject: [PATCH] Reorder items in "Load Core" screen Fixes https://github.com/libretro/RetroArch/issues/4287 --- menu/menu_displaylist.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index a8bb04d181..c42e6afe3d 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -3601,31 +3601,31 @@ static bool menu_displaylist_push_list_process(menu_displaylist_info_t *info) if (info->need_sort) file_list_sort_on_alt(info->list); - if (info->push_builtin_cores) - { - menu_entries_prepend(info->list, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_START_VIDEO_PROCESSOR), - msg_hash_to_str(MENU_ENUM_LABEL_START_VIDEO_PROCESSOR), - MENU_ENUM_LABEL_START_VIDEO_PROCESSOR, - MENU_SETTING_ACTION, 0, 0); - - menu_entries_prepend(info->list, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_START_NET_RETROPAD), - msg_hash_to_str(MENU_ENUM_LABEL_START_NET_RETROPAD), - MENU_ENUM_LABEL_START_NET_RETROPAD, - MENU_SETTING_ACTION, 0, 0); - } - #ifdef HAVE_NETWORKING if (info->download_core) { - menu_entries_prepend(info->list, + menu_entries_append_enum(info->list, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DOWNLOAD_CORE), msg_hash_to_str(MENU_ENUM_LABEL_CORE_UPDATER_LIST), MENU_ENUM_LABEL_CORE_UPDATER_LIST, MENU_SETTING_ACTION, 0, 0); } #endif + + if (info->push_builtin_cores) + { + menu_entries_append_enum(info->list, + msg_hash_to_str(MENU_ENUM_LABEL_VALUE_START_VIDEO_PROCESSOR), + msg_hash_to_str(MENU_ENUM_LABEL_START_VIDEO_PROCESSOR), + MENU_ENUM_LABEL_START_VIDEO_PROCESSOR, + MENU_SETTING_ACTION, 0, 0); + + menu_entries_append_enum(info->list, + msg_hash_to_str(MENU_ENUM_LABEL_VALUE_START_NET_RETROPAD), + msg_hash_to_str(MENU_ENUM_LABEL_START_NET_RETROPAD), + MENU_ENUM_LABEL_START_NET_RETROPAD, + MENU_SETTING_ACTION, 0, 0); + } if (!string_is_empty(new_entry)) {