(Menu) More menu hash changes

This commit is contained in:
twinaphex 2015-06-20 01:19:07 +02:00
parent c15b4c12da
commit 811044d274
3 changed files with 30 additions and 8 deletions

View File

@ -193,6 +193,22 @@ static const char *menu_hash_to_str_english(uint32_t hash)
{
switch (hash)
{
case MENU_LABEL_NETPLAY_NICKNAME:
return "netplay_nickname";
case MENU_LABEL_VALUE_NETPLAY_NICKNAME:
return "Username";
case MENU_LABEL_USER_LANGUAGE:
return "user_language";
case MENU_LABEL_VALUE_USER_LANGUAGE:
return "Language";
case MENU_LABEL_CAMERA_ALLOW:
return "camera_allow";
case MENU_LABEL_VALUE_CAMERA_ALLOW:
return "Allow Camera";
case MENU_LABEL_LOCATION_ALLOW:
return "location_allow";
case MENU_LABEL_VALUE_LOCATION_ALLOW:
return "Allow Location";
case MENU_LABEL_PAUSE_LIBRETRO:
return "menu_pause_libretro";
case MENU_LABEL_VALUE_PAUSE_LIBRETRO:

View File

@ -200,7 +200,9 @@ extern "C" {
#define MENU_LABEL_INPUT_AUTODETECT_ENABLE 0xb1e07facU
#define MENU_LABEL_CAMERA_ALLOW 0xc14d302cU
#define MENU_LABEL_VALUE_CAMERA_ALLOW 0x553824adU
#define MENU_LABEL_LOCATION_ALLOW 0xf089275cU
#define MENU_LABEL_VALUE_LOCATION_ALLOW 0xf039239dU
#define MENU_LABEL_TURBO 0x107434f1U
@ -490,6 +492,10 @@ extern "C" {
#define MENU_LABEL_VALUE_AUDIO_MUTE 0x5af25952U
#define MENU_LABEL_EXIT_EMULATOR 0x86d5d467U
#define MENU_LABEL_COLLECTION 0x5fea5991U
#define MENU_LABEL_USER_LANGUAGE 0x33ebaa27U
#define MENU_LABEL_VALUE_USER_LANGUAGE 0xd230a5a9U
#define MENU_LABEL_NETPLAY_NICKNAME 0x52204787U
#define MENU_LABEL_VALUE_NETPLAY_NICKNAME 0x75de3125U
#define MENU_VALUE_SECONDS 0x8b0028d4U

View File

@ -6455,8 +6455,8 @@ static bool setting_append_list_user_options(
CONFIG_STRING(
settings->username,
"netplay_nickname",
"Username",
menu_hash_to_str(MENU_LABEL_NETPLAY_NICKNAME),
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_NICKNAME),
"",
group_info.name,
subgroup_info.name,
@ -6467,8 +6467,8 @@ static bool setting_append_list_user_options(
CONFIG_UINT(
settings->user_language,
"user_language",
"Language",
menu_hash_to_str(MENU_LABEL_USER_LANGUAGE),
menu_hash_to_str(MENU_LABEL_VALUE_USER_LANGUAGE),
def_user_language,
group_info.name,
subgroup_info.name,
@ -6957,8 +6957,8 @@ static bool setting_append_list_privacy_options(
CONFIG_BOOL(
settings->camera.allow,
"camera_allow",
"Allow Camera",
menu_hash_to_str(MENU_LABEL_CAMERA_ALLOW),
menu_hash_to_str(MENU_LABEL_VALUE_CAMERA_ALLOW),
false,
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
@ -6970,8 +6970,8 @@ static bool setting_append_list_privacy_options(
CONFIG_BOOL(
settings->location.allow,
"location_allow",
"Allow Location",
menu_hash_to_str(MENU_LABEL_LOCATION_ALLOW),
menu_hash_to_str(MENU_LABEL_VALUE_LOCATION_ALLOW),
false,
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),