(Menu) use more menu hashes

This commit is contained in:
twinaphex 2015-06-19 07:23:58 +02:00
parent 24f5563220
commit 0e0dd14625
3 changed files with 181 additions and 172 deletions

View File

@ -257,6 +257,12 @@ static const char *menu_hash_to_str_english(uint32_t hash)
return "audio_dsp_plugin";
case MENU_LABEL_VALUE_STARTING_DOWNLOAD:
return "Starting download: ";
case MENU_VALUE_SECONDS:
return "seconds";
case MENU_VALUE_OFF:
return "OFF";
case MENU_VALUE_ON:
return "ON";
default:
break;
}

View File

@ -427,6 +427,8 @@ extern "C" {
#define MENU_LABEL_EXIT_EMULATOR 0x86d5d467U
#define MENU_LABEL_COLLECTION 0x5fea5991U
#define MENU_VALUE_SECONDS 0x8b0028d4U
const char *menu_hash_to_str(uint32_t hash);
uint32_t menu_hash_calculate(const char *s);

View File

@ -1562,10 +1562,10 @@ static void setting_get_string_representation_uint_autosave_interval(void *data,
return;
if (*setting->value.unsigned_integer)
snprintf(s, len, "%u seconds",
*setting->value.unsigned_integer);
snprintf(s, len, "%u %s",
*setting->value.unsigned_integer, menu_hash_to_str(MENU_VALUE_SECONDS));
else
strlcpy(s, "OFF", len);
strlcpy(s, menu_hash_to_str(MENU_VALUE_OFF), len);
}
static void setting_get_string_representation_uint_user_language(void *data,
@ -3227,7 +3227,8 @@ static void general_write_handler(void *data)
info.list = menu_list->menu_stack;
info.type = 0;
info.directory_ptr = 0;
strlcpy(info.label, "help", sizeof(info.label));
strlcpy(info.label,
menu_hash_to_str(MENU_LABEL_HELP), sizeof(info.label));
menu_displaylist_push_list(&info, DISPLAYLIST_GENERIC);
setting_set_with_string_representation(setting, "false");
@ -3909,8 +3910,8 @@ static bool setting_append_list_core_options(
"video_shared_context",
"HW Shared Context Enable",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -3923,8 +3924,8 @@ static bool setting_append_list_core_options(
"dummy_on_core_shutdown",
"Dummy On Core Shutdown",
load_dummy_on_core_shutdown,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -3937,8 +3938,8 @@ static bool setting_append_list_core_options(
"core_set_supports_no_game_enable",
"Supports No Content Enable",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -3972,8 +3973,8 @@ static bool setting_append_list_configuration_options(
"config_save_on_exit",
"Save Configuration on Exit",
config_save_on_exit,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -3985,8 +3986,8 @@ static bool setting_append_list_configuration_options(
"core_specific_config",
"Configuration Per-Core",
default_core_specific_config,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -3998,8 +3999,8 @@ static bool setting_append_list_configuration_options(
"auto_overrides_enable",
"Load Override Files Automatically",
default_auto_overrides_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4011,8 +4012,8 @@ static bool setting_append_list_configuration_options(
"auto_remaps_enable",
"Load Remap Files Automatically",
default_auto_remaps_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4046,8 +4047,8 @@ static bool setting_append_list_saving_options(
"sort_savefiles_enable",
"Sort Saves In Folders",
default_sort_savefiles_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4059,8 +4060,8 @@ static bool setting_append_list_saving_options(
"sort_savestates_enable",
"Sort Saves States In Folders",
default_sort_savestates_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4072,8 +4073,8 @@ static bool setting_append_list_saving_options(
"block_sram_overwrite",
"SRAM Block overwrite",
block_sram_overwrite,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4104,8 +4105,8 @@ static bool setting_append_list_saving_options(
"savestate_auto_index",
"Save State Auto Index",
savestate_auto_index,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4117,8 +4118,8 @@ static bool setting_append_list_saving_options(
"savestate_auto_save",
"Auto Save State",
savestate_auto_save,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4130,8 +4131,8 @@ static bool setting_append_list_saving_options(
"savestate_auto_load",
"Auto Load State",
savestate_auto_load,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4167,8 +4168,8 @@ static bool setting_append_list_logging_options(
"log_verbosity",
"Logging Verbosity",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4200,8 +4201,8 @@ static bool setting_append_list_logging_options(
"perfcnt_enable",
"Performance Counters",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4235,8 +4236,8 @@ static bool setting_append_list_frame_throttling_options(
"fastforward_ratio_throttle_enable",
"Limit Maximum Run Speed",
fastforward_ratio_throttle_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4295,8 +4296,8 @@ static bool setting_append_list_rewind_options(
"rewind_enable",
"Rewind",
rewind_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4355,8 +4356,8 @@ static bool setting_append_list_recording_options(
"record_enable",
"Record Enable",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4393,8 +4394,8 @@ static bool setting_append_list_recording_options(
"record_use_output_dir",
"Use output directory",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4410,8 +4411,8 @@ static bool setting_append_list_recording_options(
"video_post_filter_record",
"Post filter record Enable",
post_filter_record,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4423,8 +4424,8 @@ static bool setting_append_list_recording_options(
"video_gpu_record",
"GPU Record Enable",
gpu_record,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4459,8 +4460,8 @@ static bool setting_append_list_video_options(
"fps_show",
"Display Framerate",
fps_show,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4493,8 +4494,8 @@ static bool setting_append_list_video_options(
"video_fullscreen",
"Use Fullscreen mode",
fullscreen,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4508,8 +4509,8 @@ static bool setting_append_list_video_options(
"video_windowed_fullscreen",
"Windowed Fullscreen Mode",
windowed_fullscreen,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4551,8 +4552,8 @@ static bool setting_append_list_video_options(
"video_force_srgb_disable",
"Force-disable sRGB FBO",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4568,8 +4569,8 @@ static bool setting_append_list_video_options(
"video_force_aspect",
"Force aspect ratio",
force_aspect,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4581,8 +4582,8 @@ static bool setting_append_list_video_options(
"video_aspect_ratio_auto",
"Auto Aspect Ratio",
aspect_ratio_auto,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4638,8 +4639,8 @@ static bool setting_append_list_video_options(
"video_scale_integer",
"Integer Scale",
scale_integer,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4664,8 +4665,8 @@ static bool setting_append_list_video_options(
"video_vfilter",
"Deflicker",
video_vfilter,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4678,8 +4679,8 @@ static bool setting_append_list_video_options(
"video_smooth",
"Bilinear Filtering",
video_smooth,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4692,8 +4693,8 @@ static bool setting_append_list_video_options(
"pal60_enable",
"Use PAL60 Mode",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4757,8 +4758,8 @@ static bool setting_append_list_video_options(
"video_threaded",
"Threaded Video",
video_threaded,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4773,8 +4774,8 @@ static bool setting_append_list_video_options(
"video_vsync",
"VSync",
vsync,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4800,8 +4801,8 @@ static bool setting_append_list_video_options(
"video_hard_sync",
"Hard GPU Sync",
hard_sync,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4840,8 +4841,8 @@ static bool setting_append_list_video_options(
"video_black_frame_insertion",
"Black Frame Insertion",
black_frame_insertion,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4862,8 +4863,8 @@ static bool setting_append_list_video_options(
"video_gpu_screenshot",
"GPU Screenshot Enable",
gpu_screenshot,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4876,8 +4877,8 @@ static bool setting_append_list_video_options(
"video_allow_rotate",
"Allow rotation",
allow_rotate,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4890,8 +4891,8 @@ static bool setting_append_list_video_options(
"video_crop_overscan",
"Crop Overscan (reload)",
crop_overscan,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4904,8 +4905,8 @@ static bool setting_append_list_video_options(
"soft_filter",
"Soft Filter Enable",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -4957,8 +4958,8 @@ static bool setting_append_list_font_options(
"video_font_enable",
"Display OSD Message",
font_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5046,8 +5047,8 @@ static bool setting_append_list_audio_options(
"audio_enable",
"Audio Enable",
audio_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5060,8 +5061,8 @@ static bool setting_append_list_audio_options(
"audio_mute_enable",
"Audio Mute",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5087,8 +5088,8 @@ static bool setting_append_list_audio_options(
"system_bgm_enable",
"System BGM Enable",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5113,8 +5114,8 @@ static bool setting_append_list_audio_options(
"audio_sync",
"Audio Sync Enable",
audio_sync,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5317,8 +5318,8 @@ static bool setting_append_list_input_options(
"input_remap_binds_enable",
"Remap Binds Enable",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5330,8 +5331,8 @@ static bool setting_append_list_input_options(
"input_autodetect_enable",
"Autoconfig Enable",
input_autodetect_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5343,8 +5344,8 @@ static bool setting_append_list_input_options(
"autoconfig_descriptor_label_show",
"Display Autoconfig Descriptor Labels",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5357,8 +5358,8 @@ static bool setting_append_list_input_options(
"input_descriptor_label_show",
"Display Core Input Descriptor Labels",
input_descriptor_label_show,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5371,8 +5372,8 @@ static bool setting_append_list_input_options(
"input_descriptor_hide_unbound",
"Hide Unbound Core Input Descriptors",
input_descriptor_hide_unbound,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5592,8 +5593,8 @@ static bool setting_append_list_overlay_options(
"input_overlay_enable",
"Display Overlay",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5606,8 +5607,8 @@ static bool setting_append_list_overlay_options(
"input_osk_overlay_enable",
"Display Keyboard Overlay",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5715,8 +5716,8 @@ static bool setting_append_list_menu_options(
"menu_dynamic_wallpaper_enable",
menu_hash_to_str(MENU_LABEL_VALUE_DYNAMIC_WALLPAPER),
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5728,8 +5729,8 @@ static bool setting_append_list_menu_options(
"menu_boxart_enable",
menu_hash_to_str(MENU_LABEL_VALUE_BOXART),
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5741,8 +5742,8 @@ static bool setting_append_list_menu_options(
"menu_pause_libretro",
"Pause when menu activated",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5756,8 +5757,8 @@ static bool setting_append_list_menu_options(
"menu_mouse_enable",
"Mouse Support",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5769,8 +5770,8 @@ static bool setting_append_list_menu_options(
"menu_pointer_enable",
"Touch Support",
pointer_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5786,8 +5787,8 @@ static bool setting_append_list_menu_options(
"menu_navigation_wraparound_horizontal_enable",
"Navigation Wrap-Around Horizontal",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5800,8 +5801,8 @@ static bool setting_append_list_menu_options(
"menu_navigation_wraparound_vertical_enable",
"Navigation Wrap-Around Vertical",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5817,8 +5818,8 @@ static bool setting_append_list_menu_options(
"menu_collapse_subgroups_enable",
"Collapse SubGroups",
collapse_subgroups_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5831,8 +5832,8 @@ static bool setting_append_list_menu_options(
"menu_show_advanced_settings",
"Show advanced settings",
show_advanced_settings,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5845,8 +5846,8 @@ static bool setting_append_list_menu_options(
"threaded_data_runloop_enable",
"Threaded data runloop",
threaded_data_runloop_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5903,8 +5904,8 @@ static bool setting_append_list_menu_options(
"menu_navigation_browser_filter_supported_extensions_enable",
"Browser - Filter by supported extensions",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5916,8 +5917,8 @@ static bool setting_append_list_menu_options(
"rgui_show_start_screen",
"Show Start Screen",
menu_show_start_screen,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5929,8 +5930,8 @@ static bool setting_append_list_menu_options(
"menu_timedate_enable",
"Display time / date",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5942,8 +5943,8 @@ static bool setting_append_list_menu_options(
"menu_core_enable",
"Display core name",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -5959,8 +5960,8 @@ static bool setting_append_list_menu_options(
"dpi_override_enable",
"DPI Override Enable",
menu_dpi_override_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6005,8 +6006,8 @@ static bool setting_append_list_ui_options(
"video_disable_composition",
"Disable Desktop Composition",
disable_composition,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6020,8 +6021,8 @@ static bool setting_append_list_ui_options(
"pause_nonactive",
"Don't run in background",
pause_nonactive,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6033,8 +6034,8 @@ static bool setting_append_list_ui_options(
"ui_companion_start_on_boot",
"UI Companion Start on Boot",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6047,8 +6048,8 @@ static bool setting_append_list_ui_options(
"ui_menubar_enable",
"Menubar (Windows)",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6060,8 +6061,8 @@ static bool setting_append_list_ui_options(
"suspend_screensaver_enable",
"Suspend Screensaver",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6151,8 +6152,8 @@ static bool setting_append_list_core_updater_options(
"core_updater_auto_extract_archive",
"Automatically extract downloaded archive",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6188,8 +6189,8 @@ static bool setting_append_list_netplay_options(
"netplay_enable",
"Netplay Enable",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6201,8 +6202,8 @@ static bool setting_append_list_netplay_options(
"netplay_client_swap_input",
"Swap Netplay Input",
netplay_client_swap_input,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6226,8 +6227,8 @@ static bool setting_append_list_netplay_options(
"netplay_mode",
"Netplay Client Enable",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6239,8 +6240,8 @@ static bool setting_append_list_netplay_options(
"netplay_spectator_mode_enable",
"Netplay Spectator Enable",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6290,8 +6291,8 @@ static bool setting_append_list_netplay_options(
"network_cmd_enable",
"Network Commands",
network_cmd_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6316,8 +6317,8 @@ static bool setting_append_list_netplay_options(
"stdin_cmd_enable",
"stdin command",
stdin_cmd_enable,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6352,8 +6353,8 @@ static bool setting_append_list_patch_options(
"ups_pref",
"UPS Patching Enable",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
general_write_handler,
@ -6364,8 +6365,8 @@ static bool setting_append_list_patch_options(
"bps_pref",
"BPS Patching Enable",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
general_write_handler,
@ -6376,8 +6377,8 @@ static bool setting_append_list_patch_options(
"ips_pref",
"IPS Patching Enable",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
general_write_handler,
@ -6411,8 +6412,8 @@ static bool setting_append_list_playlist_options(
"history_list_enable",
"History List Enable",
true,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6959,8 +6960,8 @@ static bool setting_append_list_privacy_options(
"camera_allow",
"Allow Camera",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,
@ -6972,8 +6973,8 @@ static bool setting_append_list_privacy_options(
"location_allow",
"Allow Location",
false,
"OFF",
"ON",
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
group_info.name,
subgroup_info.name,
parent_group,