mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Add sublabel for Information (list)
This commit is contained in:
parent
a912d7176f
commit
ae78e47418
@ -1632,6 +1632,8 @@ MSG_HASH(MENU_ENUM_SUBLABEL_LOG_VERBOSITY,
|
||||
"Enable or disable logging to the terminal.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_NETPLAY,
|
||||
"Join or host a netplay session.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_INFORMATION_LIST_LIST,
|
||||
"Display information for core, network, and system.\nDisplay manager for database and cursor.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_ONLINE_UPDATER,
|
||||
"Download add-ons, components and contents for RetroArch.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_SAMBA_ENABLE,
|
||||
|
@ -50,6 +50,16 @@ static int action_bind_sublabel_core_settings_list(
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_bind_sublabel_information_list_list(
|
||||
file_list_t *list,
|
||||
unsigned type, unsigned i,
|
||||
const char *label, const char *path,
|
||||
char *s, size_t len)
|
||||
{
|
||||
strlcpy(s, msg_hash_to_str(MENU_ENUM_SUBLABEL_INFORMATION_LIST_LIST), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_bind_sublabel_cheevos_hardcore_mode_enable(
|
||||
file_list_t *list,
|
||||
unsigned type, unsigned i,
|
||||
@ -463,7 +473,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_INPUT_USER_16_BINDS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_user_bind_settings);
|
||||
break;
|
||||
|
||||
case MENU_ENUM_LABEL_INFORMATION_LIST:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_information_list_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_settings);
|
||||
break;
|
||||
|
@ -1946,6 +1946,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_CB_UPDATE_SHADERS_GLSL,
|
||||
MENU_ENUM_LABEL_CB_UPDATE_SHADERS_SLANG,
|
||||
|
||||
/* Sublabels */
|
||||
MENU_ENUM_SUBLABEL_ADD_CONTENT_LIST,
|
||||
MENU_ENUM_SUBLABEL_AUDIO_SETTINGS,
|
||||
MENU_ENUM_SUBLABEL_BLUETOOTH_ENABLE,
|
||||
@ -1954,6 +1955,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_SUBLABEL_CORE_SETTINGS,
|
||||
MENU_ENUM_SUBLABEL_CPU_CORES,
|
||||
MENU_ENUM_SUBLABEL_FPS_SHOW,
|
||||
MENU_ENUM_SUBLABEL_INFORMATION_LIST_LIST,
|
||||
MENU_ENUM_SUBLABEL_INPUT_HOTKEY_BINDS,
|
||||
MENU_ENUM_SUBLABEL_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO,
|
||||
MENU_ENUM_SUBLABEL_INPUT_SETTINGS,
|
||||
|
Loading…
Reference in New Issue
Block a user