From 2a1c8c7a6c8856c424c0c45d2b98a1c4344379d2 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 16 Aug 2017 18:43:08 +0200 Subject: [PATCH] Update menu_cbs_title.c --- menu/cbs/menu_cbs_title.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/menu/cbs/menu_cbs_title.c b/menu/cbs/menu_cbs_title.c index e2808ccd44..04e398634a 100644 --- a/menu/cbs/menu_cbs_title.c +++ b/menu/cbs/menu_cbs_title.c @@ -136,6 +136,10 @@ default_title_macro(action_get_system_information_list, MENU_ENUM_LABEL_ default_title_macro(action_get_network_information_list, MENU_ENUM_LABEL_VALUE_NETWORK_INFORMATION) default_title_macro(action_get_settings_list, MENU_ENUM_LABEL_VALUE_SETTINGS) default_title_macro(action_get_title_information_list, MENU_ENUM_LABEL_VALUE_INFORMATION_LIST) +default_title_macro(action_get_title_goto_favorites, MENU_ENUM_LABEL_VALUE_GOTO_FAVORITES) +default_title_macro(action_get_title_goto_image, MENU_ENUM_LABEL_VALUE_GOTO_IMAGES) +default_title_macro(action_get_title_goto_music, MENU_ENUM_LABEL_VALUE_GOTO_MUSIC) +default_title_macro(action_get_title_goto_video, MENU_ENUM_LABEL_VALUE_GOTO_VIDEO) default_fill_title_macro(action_get_title_disk_image_append, MENU_ENUM_LABEL_VALUE_DISK_IMAGE_APPEND) default_fill_title_macro(action_get_title_cheat_file_load, MENU_ENUM_LABEL_VALUE_CHEAT_FILE) @@ -463,6 +467,30 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs, return 0; } + if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_FAVORITES_LIST))) + { + BIND_ACTION_GET_TITLE(cbs, action_get_title_goto_favorites); + return 0; + } + + if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_IMAGES_LIST))) + { + BIND_ACTION_GET_TITLE(cbs, action_get_title_goto_image); + return 0; + } + + if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_MUSIC_LIST))) + { + BIND_ACTION_GET_TITLE(cbs, action_get_title_goto_music); + return 0; + } + + if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_VIDEO_LIST))) + { + BIND_ACTION_GET_TITLE(cbs, action_get_title_goto_video); + return 0; + } + if (cbs->enum_idx != MSG_UNKNOWN) { switch (cbs->enum_idx)