mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Use menu_hash_to_str_enum
This commit is contained in:
parent
c22c7688a8
commit
2afecd8c57
@ -3443,17 +3443,17 @@ static bool setting_append_list_input_player_options(
|
||||
"input_player%u_bind_defaults", user + 1);
|
||||
|
||||
snprintf(label[user], sizeof(label[user]),
|
||||
"%s %u Device Index", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
"%s %u Device Index", menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_USER), user + 1);
|
||||
snprintf(label_type[user], sizeof(label_type[user]),
|
||||
"%s %u Device Type", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
"%s %u Device Type", menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_USER), user + 1);
|
||||
snprintf(label_analog[user], sizeof(label_analog[user]),
|
||||
"%s %u Analog To Digital Type", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
"%s %u Analog To Digital Type", menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_USER), user + 1);
|
||||
snprintf(label_bind_all[user], sizeof(label_bind_all[user]),
|
||||
"%s %u Bind All", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
"%s %u Bind All", menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_USER), user + 1);
|
||||
snprintf(label_bind_defaults[user], sizeof(label_bind_defaults[user]),
|
||||
"%s %u Bind Default All", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
"%s %u Bind Default All", menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_USER), user + 1);
|
||||
snprintf(label_bind_all_save_autoconfig[user], sizeof(label_bind_all_save_autoconfig[user]),
|
||||
"%s %u Save Autoconfig", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
"%s %u Save Autoconfig", menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_USER), user + 1);
|
||||
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
@ -4786,11 +4786,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.vfilter,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_VFILTER),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_VFILTER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_VFILTER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_VFILTER),
|
||||
video_vfilter,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -4803,11 +4803,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.smooth,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_SMOOTH),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_SMOOTH),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_SMOOTH),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_SMOOTH),
|
||||
video_smooth,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -4899,11 +4899,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.hard_sync,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_HARD_SYNC),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_HARD_SYNC),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_HARD_SYNC),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_HARD_SYNC),
|
||||
hard_sync,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -4916,8 +4916,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->video.hard_sync_frames,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_HARD_SYNC_FRAMES),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_HARD_SYNC_FRAMES),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_HARD_SYNC_FRAMES),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_HARD_SYNC_FRAMES),
|
||||
hard_sync_frames,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -4931,8 +4931,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->video.frame_delay,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_FRAME_DELAY),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FRAME_DELAY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_FRAME_DELAY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_FRAME_DELAY),
|
||||
frame_delay,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -4947,11 +4947,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.black_frame_insertion,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_BLACK_FRAME_INSERTION),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_BLACK_FRAME_INSERTION),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION),
|
||||
black_frame_insertion,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -4973,11 +4973,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.gpu_screenshot,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_GPU_SCREENSHOT),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_GPU_SCREENSHOT),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_GPU_SCREENSHOT),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_GPU_SCREENSHOT),
|
||||
gpu_screenshot,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -4991,11 +4991,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.allow_rotate,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_ALLOW_ROTATE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_ALLOW_ROTATE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_ALLOW_ROTATE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_ALLOW_ROTATE),
|
||||
allow_rotate,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5008,11 +5008,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.crop_overscan,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_CROP_OVERSCAN),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_CROP_OVERSCAN),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_CROP_OVERSCAN),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_CROP_OVERSCAN),
|
||||
crop_overscan,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5052,11 +5052,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->audio.enable,
|
||||
menu_hash_to_str(MENU_LABEL_AUDIO_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_AUDIO_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_AUDIO_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_AUDIO_ENABLE),
|
||||
audio_enable,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5069,11 +5069,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->audio.mute_enable,
|
||||
menu_hash_to_str(MENU_LABEL_AUDIO_MUTE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_AUDIO_MUTE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_AUDIO_MUTE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_AUDIO_MUTE),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5102,11 +5102,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&global->console.sound.system_bgm_enable,
|
||||
menu_hash_to_str(MENU_LABEL_SYSTEM_BGM_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_SYSTEM_BGM_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_SYSTEM_BGM_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_SYSTEM_BGM_ENABLE),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5132,11 +5132,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->audio.sync,
|
||||
menu_hash_to_str(MENU_LABEL_AUDIO_SYNC),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_AUDIO_SYNC),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_AUDIO_SYNC),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_AUDIO_SYNC),
|
||||
audio_sync,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5149,8 +5149,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->audio.latency,
|
||||
menu_hash_to_str(MENU_LABEL_AUDIO_LATENCY),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_AUDIO_LATENCY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_AUDIO_LATENCY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_AUDIO_LATENCY),
|
||||
g_defaults.settings.out_latency ?
|
||||
g_defaults.settings.out_latency : out_latency,
|
||||
&group_info,
|
||||
@ -5164,8 +5164,8 @@ static bool setting_append_list(
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->audio.rate_control_delta,
|
||||
menu_hash_to_str(MENU_LABEL_AUDIO_RATE_CONTROL_DELTA),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_AUDIO_RATE_CONTROL_DELTA),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_AUDIO_RATE_CONTROL_DELTA),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_AUDIO_RATE_CONTROL_DELTA),
|
||||
rate_control_delta,
|
||||
"%.3f",
|
||||
&group_info,
|
||||
@ -5311,8 +5311,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->input.poll_type_behavior,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_POLL_TYPE_BEHAVIOR),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_POLL_TYPE_BEHAVIOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_POLL_TYPE_BEHAVIOR),
|
||||
input_poll_type_behavior,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5326,11 +5326,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->input.keyboard_gamepad_enable,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_ICADE_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_ICADE_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_ICADE_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_ICADE_ENABLE),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5343,8 +5343,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->input.keyboard_gamepad_mapping_type,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_KEYBOARD_GAMEPAD_MAPPING_TYPE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_KEYBOARD_GAMEPAD_MAPPING_TYPE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_KEYBOARD_GAMEPAD_MAPPING_TYPE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_KEYBOARD_GAMEPAD_MAPPING_TYPE),
|
||||
1,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5357,11 +5357,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->input.small_keyboard_enable,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_SMALL_KEYBOARD_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_SMALL_KEYBOARD_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_SMALL_KEYBOARD_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_SMALL_KEYBOARD_ENABLE),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5376,11 +5376,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->input.back_as_menu_toggle_enable,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_BACK_AS_MENU_TOGGLE_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_BACK_AS_MENU_TOGGLE_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_TOGGLE_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_TOGGLE_ENABLE),
|
||||
back_as_menu_toggle_enable,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5394,8 +5394,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->input.menu_toggle_gamepad_combo,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_MENU_TOGGLE_GAMEPAD_COMBO),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_MENU_TOGGLE_GAMEPAD_COMBO),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO),
|
||||
menu_toggle_gamepad_combo,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5408,11 +5408,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->input.remap_binds_enable,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_REMAP_BINDS_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_REMAP_BINDS_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_REMAP_BINDS_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_REMAP_BINDS_ENABLE),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5425,11 +5425,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->input.autodetect_enable,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_AUTODETECT_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_AUTODETECT_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_AUTODETECT_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_AUTODETECT_ENABLE),
|
||||
input_autodetect_enable,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5442,11 +5442,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->input.input_descriptor_label_show,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_DESCRIPTOR_LABEL_SHOW),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_DESCRIPTOR_LABEL_SHOW),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_DESCRIPTOR_LABEL_SHOW),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_DESCRIPTOR_LABEL_SHOW),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5459,11 +5459,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->input.input_descriptor_hide_unbound,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_DESCRIPTOR_HIDE_UNBOUND),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_DESCRIPTOR_HIDE_UNBOUND),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_DESCRIPTOR_HIDE_UNBOUND),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_DESCRIPTOR_HIDE_UNBOUND),
|
||||
input_descriptor_hide_unbound,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5535,8 +5535,8 @@ static bool setting_append_list(
|
||||
|
||||
CONFIG_ACTION(
|
||||
list, list_info,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_HOTKEY_BINDS),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_HOTKEY_BINDS),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_HOTKEY_BINDS),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_HOTKEY_BINDS),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group);
|
||||
@ -5599,8 +5599,8 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
global->record.config,
|
||||
sizeof(global->record.config),
|
||||
menu_hash_to_str(MENU_LABEL_RECORD_CONFIG),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_RECORD_CONFIG),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_RECORD_CONFIG),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_RECORD_CONFIG),
|
||||
"",
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5614,8 +5614,8 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
global->record.path,
|
||||
sizeof(global->record.path),
|
||||
menu_hash_to_str(MENU_LABEL_RECORD_PATH),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_RECORD_PATH),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_RECORD_PATH),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_RECORD_PATH),
|
||||
"",
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5631,8 +5631,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_RECORD_USE_OUTPUT_DIRECTORY),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_RECORD_USE_OUTPUT_DIRECTORY),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5652,8 +5652,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_POST_FILTER_RECORD),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_POST_FILTER_RECORD),
|
||||
post_filter_record,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5880,11 +5880,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->input.overlay_enable,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_OVERLAY_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_OVERLAY_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_OVERLAY_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_ENABLE),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5898,11 +5898,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->input.overlay_enable_autopreferred,
|
||||
menu_hash_to_str(MENU_LABEL_OVERLAY_AUTOLOAD_PREFERRED),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_OVERLAY_AUTOLOAD_PREFERRED),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_OVERLAY_AUTOLOAD_PREFERRED),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OVERLAY_AUTOLOAD_PREFERRED),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5916,11 +5916,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->input.overlay_hide_in_menu,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_OVERLAY_HIDE_IN_MENU),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_OVERLAY_HIDE_IN_MENU),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_OVERLAY_HIDE_IN_MENU),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_HIDE_IN_MENU),
|
||||
overlay_hide_in_menu,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -5934,11 +5934,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->osk.enable,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_OSK_OVERLAY_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_OSK_OVERLAY_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_OSK_OVERLAY_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_OSK_OVERLAY_ENABLE),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6034,8 +6034,8 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->path.menu_wallpaper,
|
||||
sizeof(settings->path.menu_wallpaper),
|
||||
menu_hash_to_str(MENU_LABEL_MENU_WALLPAPER),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_MENU_WALLPAPER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_MENU_WALLPAPER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_MENU_WALLPAPER),
|
||||
"",
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -6048,11 +6048,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->menu.dynamic_wallpaper_enable,
|
||||
menu_hash_to_str(MENU_LABEL_DYNAMIC_WALLPAPER),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_DYNAMIC_WALLPAPER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_DYNAMIC_WALLPAPER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DYNAMIC_WALLPAPER),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6066,11 +6066,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->menu.pause_libretro,
|
||||
menu_hash_to_str(MENU_LABEL_PAUSE_LIBRETRO),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_PAUSE_LIBRETRO),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_PAUSE_LIBRETRO),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_PAUSE_LIBRETRO),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6084,11 +6084,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->menu.mouse.enable,
|
||||
menu_hash_to_str(MENU_LABEL_MOUSE_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_MOUSE_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_MOUSE_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_MOUSE_ENABLE),
|
||||
def_mouse_enable,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6101,11 +6101,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->menu.pointer.enable,
|
||||
menu_hash_to_str(MENU_LABEL_POINTER_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_POINTER_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_POINTER_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_POINTER_ENABLE),
|
||||
pointer_enable,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6118,11 +6118,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->menu.linear_filter,
|
||||
menu_hash_to_str(MENU_LABEL_MENU_LINEAR_FILTER),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_MENU_LINEAR_FILTER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_MENU_LINEAR_FILTER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_MENU_LINEAR_FILTER),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6254,11 +6254,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->menu.dpi.override_enable,
|
||||
menu_hash_to_str(MENU_LABEL_DPI_OVERRIDE_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_DPI_OVERRIDE_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_DPI_OVERRIDE_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DPI_OVERRIDE_ENABLE),
|
||||
menu_dpi_override_enable,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6270,8 +6270,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->menu.dpi.override_value,
|
||||
menu_hash_to_str(MENU_LABEL_DPI_OVERRIDE_VALUE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_DPI_OVERRIDE_VALUE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_DPI_OVERRIDE_VALUE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DPI_OVERRIDE_VALUE),
|
||||
menu_dpi_override_value,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -6288,8 +6288,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->menu.xmb_alpha_factor,
|
||||
menu_hash_to_str(MENU_LABEL_XMB_ALPHA_FACTOR),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_XMB_ALPHA_FACTOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_XMB_ALPHA_FACTOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_XMB_ALPHA_FACTOR),
|
||||
xmb_alpha_factor,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -6302,8 +6302,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->menu.xmb_scale_factor,
|
||||
menu_hash_to_str(MENU_LABEL_XMB_SCALE_FACTOR),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_XMB_SCALE_FACTOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_XMB_SCALE_FACTOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_XMB_SCALE_FACTOR),
|
||||
xmb_scale_factor,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -6347,8 +6347,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_XMB_SHADOWS_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_XMB_SHADOWS_ENABLE),
|
||||
xmb_shadows_enable,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6394,8 +6394,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_RGUI_SHOW_START_SCREEN),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_RGUI_SHOW_START_SCREEN),
|
||||
default_menu_show_start_screen,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6424,8 +6424,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_TIMEDATE_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_TIMEDATE_ENABLE),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6440,8 +6440,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_CORE_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_CORE_ENABLE),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6495,11 +6495,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->multimedia.builtin_mediaplayer_enable,
|
||||
menu_hash_to_str(MENU_LABEL_USE_BUILTIN_PLAYER),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_USE_BUILTIN_PLAYER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_USE_BUILTIN_PLAYER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_USE_BUILTIN_PLAYER),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6514,11 +6514,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->multimedia.builtin_imageviewer_enable,
|
||||
menu_hash_to_str(MENU_LABEL_USE_BUILTIN_IMAGE_VIEWER),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_USE_BUILTIN_IMAGE_VIEWER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_USE_BUILTIN_IMAGE_VIEWER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_USE_BUILTIN_IMAGE_VIEWER),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6544,11 +6544,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->pause_nonactive,
|
||||
menu_hash_to_str(MENU_LABEL_PAUSE_NONACTIVE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_PAUSE_NONACTIVE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_PAUSE_NONACTIVE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_PAUSE_NONACTIVE),
|
||||
pause_nonactive,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6563,8 +6563,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_DISABLE_COMPOSITION),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_DISABLE_COMPOSITION),
|
||||
disable_composition,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6580,8 +6580,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_UI_COMPANION_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_UI_COMPANION_ENABLE),
|
||||
ui_companion_enable,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6596,8 +6596,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_UI_COMPANION_START_ON_BOOT),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_UI_COMPANION_START_ON_BOOT),
|
||||
ui_companion_start_on_boot,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6612,8 +6612,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_UI_MENUBAR_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_UI_MENUBAR_ENABLE),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6683,11 +6683,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->cheevos.enable,
|
||||
menu_hash_to_str(MENU_LABEL_CHEEVOS_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_CHEEVOS_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ENABLE),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6703,8 +6703,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_CHEEVOS_TEST_UNOFFICIAL),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_CHEEVOS_TEST_UNOFFICIAL),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6720,8 +6720,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_CHEEVOS_HARDCORE_MODE_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_CHEEVOS_HARDCORE_MODE_ENABLE),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6779,8 +6779,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE),
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6814,8 +6814,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_NETPLAY_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_ENABLE),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6831,8 +6831,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_NETPLAY_CLIENT_SWAP_INPUT),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_CLIENT_SWAP_INPUT),
|
||||
netplay_client_swap_input,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6862,8 +6862,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_NETPLAY_MODE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_MODE),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6878,8 +6878,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_NETPLAY_SPECTATOR_MODE_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_SPECTATOR_MODE_ENABLE),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6936,8 +6936,8 @@ static bool setting_append_list(
|
||||
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),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -6967,8 +6967,8 @@ static bool setting_append_list(
|
||||
menu_hash_to_str(MENU_LABEL_NETWORK_REMOTE_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NETWORK_REMOTE_ENABLE),
|
||||
"", /* todo: add default */
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -7008,8 +7008,8 @@ static bool setting_append_list(
|
||||
strdup(s1),
|
||||
strdup(s2),
|
||||
"", /* todo: add default */
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -7026,8 +7026,8 @@ static bool setting_append_list(
|
||||
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),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -7266,10 +7266,10 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->directory.core_assets,
|
||||
sizeof(settings->directory.core_assets),
|
||||
menu_hash_to_str(MENU_LABEL_CORE_ASSETS_DIRECTORY),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_CORE_ASSETS_DIRECTORY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_CORE_ASSETS_DIRECTORY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_CORE_ASSETS_DIRECTORY),
|
||||
"",
|
||||
menu_hash_to_str(MENU_VALUE_DIRECTORY_DEFAULT),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DIRECTORY_DEFAULT),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -7281,10 +7281,10 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->directory.assets,
|
||||
sizeof(settings->directory.assets),
|
||||
menu_hash_to_str(MENU_LABEL_ASSETS_DIRECTORY),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ASSETS_DIRECTORY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_ASSETS_DIRECTORY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ASSETS_DIRECTORY),
|
||||
"",
|
||||
menu_hash_to_str(MENU_VALUE_DIRECTORY_DEFAULT),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DIRECTORY_DEFAULT),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
|
Loading…
x
Reference in New Issue
Block a user