(XMB) Fix black box regression

This commit is contained in:
twinaphex 2017-08-16 05:52:59 +02:00
parent 0eb78a26b3
commit 1093c1bac8
1 changed files with 22 additions and 23 deletions

View File

@ -3488,9 +3488,9 @@ static int menu_displaylist_parse_playlists(
list_size = str_list->size;
#ifdef HAVE_LIBRETRODB
if (!horizontal)
{
#ifdef HAVE_LIBRETRODB
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_DIRECTORY),
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_DIRECTORY),
@ -3501,9 +3501,7 @@ static int menu_displaylist_parse_playlists(
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_FILE),
MENU_ENUM_LABEL_SCAN_FILE,
MENU_SETTING_ACTION, 0, 0);
}
#endif
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_GOTO_FAVORITES),
msg_hash_to_str(MENU_ENUM_LABEL_GOTO_FAVORITES),
@ -3527,6 +3525,7 @@ static int menu_displaylist_parse_playlists(
msg_hash_to_str(MENU_ENUM_LABEL_GOTO_VIDEO),
MENU_ENUM_LABEL_GOTO_VIDEO,
MENU_SETTING_ACTION, 0, 0);
}
if (list_size == 0)
{