From de67f174bfa8a38a88cdf473e4069ca10eb066ff Mon Sep 17 00:00:00 2001 From: sonninnos <45124675+sonninnos@users.noreply.github.com> Date: Fri, 26 Aug 2022 09:35:12 +0300 Subject: [PATCH] (XMB) Fix icons in 'Load Content' Favorites (#14353) --- menu/drivers/xmb.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 380c48499d..692d634eac 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -3787,6 +3787,18 @@ static int xmb_draw_item( { switch (xmb_get_system_tab(xmb, xmb->categories_selection_ptr)) { + case XMB_SYSTEM_TAB_MAIN: + { + /* Special fall-through for "Load Content" > Playlists > Favorites */ + char title[255]; + menu_entries_get_title(title, sizeof(title)); + if (string_is_equal(title, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_GOTO_FAVORITES))) + ; /* no-op */ + else if (xmb->depth == 5) + show_history_icons = PLAYLIST_SHOW_HISTORY_ICONS_CONTENT; + else + break; + } case XMB_SYSTEM_TAB_HISTORY: case XMB_SYSTEM_TAB_FAVORITES: {