Add more menu hashes

This commit is contained in:
twinaphex 2015-06-16 01:14:44 +02:00
parent 0782af571e
commit 56952f14f3
3 changed files with 24 additions and 6 deletions

View File

@ -62,6 +62,18 @@ const char *menu_hash_to_str(uint32_t hash)
return "Resume Content";
case MENU_LABEL_DRIVER_SETTINGS:
return "Driver Settings";
case MENU_LABEL_OVERLAY_SCALE:
return "Overlay Scale";
case MENU_LABEL_OVERLAY_PRESET:
return "Overlay Preset";
case MENU_LABEL_KEYBOARD_OVERLAY_PRESET:
return "Keyboard Overlay Preset";
case MENU_LABEL_OVERLAY_OPACITY:
return "Overlay Opacity";
case MENU_LABEL_VALUE_MENU_WALLPAPER:
return "Menu Wallpaper";
case MENU_LABEL_VALUE_DYNAMIC_WALLPAPER:
return "Dynamic Wallpaper";
}
return "null";

View File

@ -74,7 +74,13 @@ extern "C" {
#define MENU_LABEL_NETPLAY_IP_ADDRESS 0xac9a53ffU
#define MENU_LABEL_NETPLAY_MODE 0xc1cf6506U
#define MENU_LABEL_PERFCNT_ENABLE 0x6823dbddU
#define MENU_LABEL_OVERLAY_SCALE 0x4237794fU
#define MENU_LABEL_KEYBOARD_OVERLAY_PRESET 0x7bc03f8bU
#define MENU_LABEL_OVERLAY_PRESET 0x8338e89aU
#define MENU_LABEL_OVERLAY_OPACITY 0x98605740U
#define MENU_LABEL_VALUE_MENU_WALLPAPER 0x4555d2a2U
#define MENU_LABEL_VALUE_DYNAMIC_WALLPAPER 0x66928c32U
#define MENU_LABEL_PAL60_ENABLE 0x62bc416eU
#define MENU_LABEL_SYSTEM_BGM_ENABLE 0x9287a1c5U

View File

@ -5618,7 +5618,7 @@ static bool setting_append_list_overlay_options(
CONFIG_PATH(
settings->input.overlay,
"input_overlay",
"Overlay Preset",
menu_hash_to_str(MENU_LABEL_OVERLAY_PRESET),
global->overlay_dir,
group_info.name,
subgroup_info.name,
@ -5632,7 +5632,7 @@ static bool setting_append_list_overlay_options(
CONFIG_FLOAT(
settings->input.overlay_opacity,
"input_overlay_opacity",
"Overlay Opacity",
menu_hash_to_str(MENU_LABEL_OVERLAY_OPACITY),
0.7f,
"%.2f",
group_info.name,
@ -5647,7 +5647,7 @@ static bool setting_append_list_overlay_options(
CONFIG_FLOAT(
settings->input.overlay_scale,
"input_overlay_scale",
"Overlay Scale",
menu_hash_to_str(MENU_LABEL_OVERLAY_SCALE),
1.0f,
"%.2f",
group_info.name,
@ -5666,7 +5666,7 @@ static bool setting_append_list_overlay_options(
CONFIG_PATH(
settings->osk.overlay,
"input_osk_overlay",
"Keyboard Overlay Preset",
menu_hash_to_str(MENU_LABEL_KEYBOARD_OVERLAY_PRESET),
global->osk_overlay_dir,
group_info.name,
subgroup_info.name,
@ -5701,7 +5701,7 @@ static bool setting_append_list_menu_options(
CONFIG_PATH(
settings->menu.wallpaper,
"menu_wallpaper",
"Menu Wallpaper",
menu_hash_to_str(MENU_LABEL_VALUE_MENU_WALLPAPER),
"",
group_info.name,
subgroup_info.name,
@ -5714,7 +5714,7 @@ static bool setting_append_list_menu_options(
CONFIG_BOOL(
settings->menu.dynamic_wallpaper_enable,
"menu_dynamic_wallpaper_enable",
"Dynamic Wallpaper",
menu_hash_to_str(MENU_LABEL_VALUE_DYNAMIC_WALLPAPER),
true,
"OFF",
"ON",