diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index d21717c9bd..0a74c4ee7a 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -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, diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index 1b7a8e33a3..b5c6cc8f5b 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -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; diff --git a/msg_hash.h b/msg_hash.h index 8bf10da041..23cd9d5748 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -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,