1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-03 08:48:42 +00:00

Create MENU_ENUM_LABEL_PLAYLIST_ENTRY

This commit is contained in:
twinaphex 2016-07-04 17:35:59 +02:00
parent 58c6590dca
commit 170f8da759
3 changed files with 7 additions and 4 deletions

View File

@ -1188,6 +1188,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
return "core_info_entry";
case MENU_ENUM_LABEL_NETWORK_INFO_ENTRY:
return "network_info_entry";
case MENU_ENUM_LABEL_PLAYLIST_ENTRY:
return "playlist_entry";
case MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY:
return "system_info_entry";
case MENU_ENUM_LABEL_DEBUG_INFO_ENTRY:

View File

@ -1587,13 +1587,13 @@ static int menu_displaylist_parse_playlist(menu_displaylist_info_t *info,
if (!path)
menu_entries_add_enum(info->list, fill_buf, path_playlist,
MSG_UNKNOWN, FILE_TYPE_PLAYLIST_ENTRY, 0, i);
MENU_ENUM_LABEL_PLAYLIST_ENTRY, FILE_TYPE_PLAYLIST_ENTRY, 0, i);
else if (is_history)
menu_entries_add_enum(info->list, fill_buf,
path, MSG_UNKNOWN, FILE_TYPE_RPL_ENTRY, 0, i);
path, MENU_ENUM_LABEL_PLAYLIST_ENTRY, FILE_TYPE_RPL_ENTRY, 0, i);
else
menu_entries_add_enum(info->list, label,
path, MSG_UNKNOWN, FILE_TYPE_RPL_ENTRY, 0, i);
path, MENU_ENUM_LABEL_PLAYLIST_ENTRY, FILE_TYPE_RPL_ENTRY, 0, i);
}
return 0;
@ -3452,7 +3452,7 @@ static int menu_displaylist_parse_generic(
{
case MENU_LABEL_CORE_LIST:
{
enum msg_hash_enums enum_idx = MSG_UNKNOWN;
enum msg_hash_enums enum_idx = MSG_UNKNOWN;
const char *dir = NULL;
menu_entries_get_last_stack(&dir, NULL, NULL, &enum_idx, NULL);

View File

@ -286,6 +286,7 @@ enum msg_hash_enums
MENU_ENUM_LABEL_NETWORK_INFO_ENTRY,
MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY,
MENU_ENUM_LABEL_CORE_INFO_ENTRY,
MENU_ENUM_LABEL_PLAYLIST_ENTRY,
MENU_ENUM_LABEL_START_NET_RETROPAD,
MENU_ENUM_LABEL_VALUE_START_NET_RETROPAD,