(Menu) More label updates

This commit is contained in:
Twinaphex 2015-06-20 17:47:09 +02:00
parent 95520f50a0
commit e42c1d333c
3 changed files with 36 additions and 10 deletions

View File

@ -311,6 +311,22 @@ static const char *menu_hash_to_str_english(uint32_t hash)
{
switch (hash)
{
case MENU_LABEL_NETWORK_CMD_ENABLE:
return "network_cmd_enable";
case MENU_LABEL_VALUE_NETWORK_CMD_ENABLE:
return "Network Commands";
case MENU_LABEL_NETWORK_CMD_PORT:
return "network_cmd_port";
case MENU_LABEL_VALUE_NETWORK_CMD_PORT:
return "Network Command Port";
case MENU_LABEL_HISTORY_LIST_ENABLE:
return "history_list_enable";
case MENU_LABEL_VALUE_HISTORY_LIST_ENABLE:
return "History List Enable";
case MENU_LABEL_CONTENT_HISTORY_SIZE:
return "Content History Size";
case MENU_LABEL_VALUE_CONTENT_HISTORY_SIZE:
return "History List Size";
case MENU_LABEL_VIDEO_REFRESH_RATE_AUTO:
return "video_refresh_rate_auto";
case MENU_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO:

View File

@ -315,6 +315,16 @@ extern "C" {
#define MENU_VALUE_GLSL 0x7c976537U
#define MENU_VALUE_CG 0x0059776fU
#define MENU_LABEL_NETWORK_CMD_ENABLE 0xfdf03a08U
#define MENU_LABEL_VALUE_NETWORK_CMD_ENABLE 0xb822b7a1U
#define MENU_LABEL_NETWORK_CMD_PORT 0xc1b9e0a6U
#define MENU_LABEL_VALUE_NETWORK_CMD_PORT 0xee5773f3U
#define MENU_LABEL_STDIN_CMD_ENABLE 0x665069c0U
#define MENU_LABEL_VALUE_STDIN_CMD_ENABLE 0xc98ecc46U
#define MENU_LABEL_HISTORY_LIST_ENABLE 0xe1c2ae78U
#define MENU_LABEL_VALUE_HISTORY_LIST_ENABLE 0xd2c13bbaU
#define MENU_LABEL_CONTENT_HISTORY_SIZE 0x6f24c38bU
#define MENU_LABEL_VALUE_CONTENT_HISTORY_SIZE 0xda9c5a6eU
#define MENU_LABEL_CONTENT_ACTIONS 0xa0d76970U
#define MENU_LABEL_DETECT_CORE_LIST 0xaa07c341U
#define MENU_LABEL_VALUE_DETECT_CORE_LIST 0x69f11813U

View File

@ -6288,8 +6288,8 @@ static bool setting_append_list_netplay_options(
#if defined(HAVE_NETWORK_CMD)
CONFIG_BOOL(
settings->network_cmd_enable,
"network_cmd_enable",
"Network Commands",
menu_hash_to_str(MENU_LABEL_NETWORK_CMD_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_NETWORK_CMD_ENABLE),
network_cmd_enable,
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
@ -6302,8 +6302,8 @@ static bool setting_append_list_netplay_options(
CONFIG_UINT(
settings->network_cmd_port,
"network_cmd_port",
"Network Command Port",
menu_hash_to_str(MENU_LABEL_NETWORK_CMD_PORT),
menu_hash_to_str(MENU_LABEL_VALUE_NETWORK_CMD_PORT),
network_cmd_port,
group_info.name,
subgroup_info.name,
@ -6314,8 +6314,8 @@ static bool setting_append_list_netplay_options(
CONFIG_BOOL(
settings->stdin_cmd_enable,
"stdin_cmd_enable",
"stdin command",
menu_hash_to_str(MENU_LABEL_STDIN_CMD_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_STDIN_CMD_ENABLE),
stdin_cmd_enable,
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
@ -6409,8 +6409,8 @@ static bool setting_append_list_playlist_options(
CONFIG_BOOL(
settings->history_list_enable,
"history_list_enable",
"History List Enable",
menu_hash_to_str(MENU_LABEL_HISTORY_LIST_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_HISTORY_LIST_ENABLE),
true,
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
@ -6422,8 +6422,8 @@ static bool setting_append_list_playlist_options(
CONFIG_UINT(
settings->content_history_size,
"content_history_size",
"History List Size",
menu_hash_to_str(MENU_LABEL_CONTENT_HISTORY_SIZE),
menu_hash_to_str(MENU_LABEL_CONTENT_HISTORY_SIZE),
default_content_history_size,
group_info.name,
subgroup_info.name,