mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-12 02:44:00 +00:00
(Menu) Menu hashing
This commit is contained in:
parent
0be48dc7f6
commit
4ac997c28d
@ -219,12 +219,18 @@ static const char *menu_hash_to_str_english(uint32_t hash)
|
||||
return "input_overlay_scale";
|
||||
case MENU_LABEL_VALUE_OVERLAY_SCALE:
|
||||
return "Overlay Scale";
|
||||
case MENU_LABEL_OVERLAY_PRESET:
|
||||
case MENU_LABEL_VALUE_OVERLAY_PRESET:
|
||||
return "Overlay Preset";
|
||||
case MENU_LABEL_OVERLAY_PRESET:
|
||||
return "input_overlay";
|
||||
case MENU_LABEL_KEYBOARD_OVERLAY_PRESET:
|
||||
return "input_osk_overlay";
|
||||
case MENU_LABEL_AUDIO_DEVICE:
|
||||
return "audio_device";
|
||||
case MENU_LABEL_AUDIO_LATENCY:
|
||||
return "audio_latency";
|
||||
case MENU_LABEL_VALUE_AUDIO_LATENCY:
|
||||
return "Audio Latency (ms)";
|
||||
case MENU_LABEL_VALUE_AUDIO_DEVICE:
|
||||
return "Audio Device";
|
||||
case MENU_LABEL_VALUE_KEYBOARD_OVERLAY_PRESET:
|
||||
|
@ -83,6 +83,7 @@ extern "C" {
|
||||
#define MENU_LABEL_OVERLAY_NEXT 0x7a459145U
|
||||
#define MENU_LABEL_AUDIO_VOLUME 0x502173aeU
|
||||
#define MENU_LABEL_AUDIO_LATENCY 0x32695386U
|
||||
#define MENU_LABEL_VALUE_AUDIO_LATENCY 0x89900e38U
|
||||
#define MENU_LABEL_NETPLAY_DELAY_FRAMES 0x86b2c48dU
|
||||
#define MENU_LABEL_NETPLAY_SPECTATOR_MODE_ENABLE 0x6f9a9440U
|
||||
#define MENU_LABEL_NETPLAY_IP_ADDRESS 0xac9a53ffU
|
||||
@ -92,7 +93,8 @@ extern "C" {
|
||||
#define MENU_LABEL_VALUE_OVERLAY_SCALE 0x4237794fU
|
||||
#define MENU_LABEL_KEYBOARD_OVERLAY_PRESET 0x11f1c582U
|
||||
#define MENU_LABEL_VALUE_KEYBOARD_OVERLAY_PRESET 0x7bc03f8bU
|
||||
#define MENU_LABEL_OVERLAY_PRESET 0x8338e89aU
|
||||
#define MENU_LABEL_OVERLAY_PRESET 0x24e24796U
|
||||
#define MENU_LABEL_VALUE_OVERLAY_PRESET 0x8338e89aU
|
||||
#define MENU_LABEL_OVERLAY_OPACITY 0xc466fbaeU
|
||||
#define MENU_LABEL_VALUE_OVERLAY_OPACITY 0x98605740U
|
||||
|
||||
|
@ -5124,8 +5124,8 @@ static bool setting_append_list_audio_options(
|
||||
|
||||
CONFIG_UINT(
|
||||
settings->audio.latency,
|
||||
"audio_latency",
|
||||
"Audio Latency (ms)",
|
||||
menu_hash_to_str(MENU_LABEL_AUDIO_LATENCY),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_AUDIO_LATENCY),
|
||||
g_defaults.settings.out_latency ?
|
||||
g_defaults.settings.out_latency : out_latency,
|
||||
group_info.name,
|
||||
@ -5617,8 +5617,8 @@ static bool setting_append_list_overlay_options(
|
||||
|
||||
CONFIG_PATH(
|
||||
settings->input.overlay,
|
||||
"input_overlay",
|
||||
menu_hash_to_str(MENU_LABEL_OVERLAY_PRESET),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_OVERLAY_PRESET),
|
||||
global->overlay_dir,
|
||||
group_info.name,
|
||||
subgroup_info.name,
|
||||
|
Loading…
Reference in New Issue
Block a user