mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 04:20:28 +00:00
Show 'no history available' when no playlist entries can be shown
This commit is contained in:
parent
6d64cc00ec
commit
c83c34f30a
@ -1176,6 +1176,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
|
||||
return "no_items";
|
||||
case MENU_ENUM_LABEL_NO_PLAYLISTS:
|
||||
return "no_playlists";
|
||||
case MENU_ENUM_LABEL_NO_HISTORY_AVAILABLE:
|
||||
return "no_history";
|
||||
case MENU_ENUM_LABEL_NO_SHADER_PARAMETERS:
|
||||
return "no_shader_parameters.";
|
||||
case MENU_ENUM_LABEL_SETTINGS_TAB:
|
||||
@ -3168,6 +3170,8 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
|
||||
return "Disk Cycle Tray Status";
|
||||
case MENU_ENUM_LABEL_VALUE_NO_PLAYLIST_ENTRIES_AVAILABLE:
|
||||
return "No playlist entries available.";
|
||||
case MENU_ENUM_LABEL_VALUE_NO_HISTORY_AVAILABLE:
|
||||
return "No history available.";
|
||||
case MENU_ENUM_LABEL_VALUE_NO_CORE_INFORMATION_AVAILABLE:
|
||||
return "No core information available.";
|
||||
case MENU_ENUM_LABEL_VALUE_NO_CORE_OPTIONS_AVAILABLE:
|
||||
|
@ -5302,9 +5302,9 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
else
|
||||
{
|
||||
menu_entries_append_enum(info->list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_PLAYLIST_ENTRIES_AVAILABLE),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE),
|
||||
MENU_ENUM_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_HISTORY_AVAILABLE),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_NO_HISTORY_AVAILABLE),
|
||||
MENU_ENUM_LABEL_NO_HISTORY_AVAILABLE,
|
||||
MENU_INFO_MESSAGE, 0, 0);
|
||||
ret = 0;
|
||||
}
|
||||
|
@ -286,6 +286,9 @@ enum msg_hash_enums
|
||||
MSG_EXTRACTING_FILE,
|
||||
MSG_NO_CONTENT_STARTING_DUMMY_CORE,
|
||||
|
||||
MENU_ENUM_LABEL_VALUE_NO_HISTORY_AVAILABLE,
|
||||
MENU_ENUM_LABEL_NO_HISTORY_AVAILABLE,
|
||||
|
||||
MENU_ENUM_LABEL_VALUE_REMAP_FILE,
|
||||
MENU_ENUM_LABEL_VALUE_CHEAT_FILE,
|
||||
MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN,
|
||||
|
Loading…
x
Reference in New Issue
Block a user