diff --git a/menu/cbs/menu_cbs_left.c b/menu/cbs/menu_cbs_left.c index ef22c60609..d1d8e39f69 100644 --- a/menu/cbs/menu_cbs_left.c +++ b/menu/cbs/menu_cbs_left.c @@ -473,6 +473,20 @@ static int menu_cbs_init_bind_left_compare_label(menu_file_list_cbs_t *cbs, BIND_ACTION_LEFT(cbs, action_left_mainmenu); break; } + case MENU_ENUM_LABEL_START_VIDEO_PROCESSOR: + if ( string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HISTORY_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_ADD_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_MUSIC_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_IMAGES_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_SETTINGS_TAB)) + ) + { + BIND_ACTION_LEFT(cbs, action_left_mainmenu); + break; + } default: return -1; } diff --git a/menu/cbs/menu_cbs_right.c b/menu/cbs/menu_cbs_right.c index 235ab4b321..a4dfb49f40 100644 --- a/menu/cbs/menu_cbs_right.c +++ b/menu/cbs/menu_cbs_right.c @@ -585,6 +585,20 @@ static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs, BIND_ACTION_RIGHT(cbs, action_right_mainmenu); break; } + case MENU_ENUM_LABEL_START_VIDEO_PROCESSOR: + if ( string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HISTORY_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_ADD_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_MUSIC_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_IMAGES_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_TAB)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU)) || + string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_SETTINGS_TAB)) + ) + { + BIND_ACTION_RIGHT(cbs, action_right_mainmenu); + break; + } default: return -1; } diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 019f865791..8b1f72da82 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -3224,9 +3224,6 @@ static int xmb_list_push(void *data, void *userdata, menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry); } - entry.enum_idx = MENU_ENUM_LABEL_START_VIDEO_PROCESSOR; - menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry); - entry.enum_idx = MENU_ENUM_LABEL_START_NET_RETROPAD; menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry); diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 02ba4ce7ab..4ce7b7fdde 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -3856,6 +3856,15 @@ static bool menu_displaylist_push_internal( #endif { menu_entries_ctl(MENU_ENTRIES_CTL_CLEAR, info->list); +#if defined(HAVE_VIDEO_PROCESSOR) + 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, + 0, 0, 0); +#else menu_entries_append_enum(info->list, msg_hash_to_str( MENU_ENUM_LABEL_VALUE_NO_PLAYLIST_ENTRIES_AVAILABLE), @@ -3863,6 +3872,7 @@ static bool menu_displaylist_push_internal( MENU_ENUM_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE), MENU_ENUM_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE, MENU_INFO_MESSAGE, 0, 0); +#endif info->need_refresh = true; info->need_push = true; }