mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
(menu_setting.c) Use menu_hash_to_str_enum
This commit is contained in:
parent
e91d9d5637
commit
abd1776240
@ -4485,11 +4485,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->fps_show,
|
||||
menu_hash_to_str(MENU_LABEL_FPS_SHOW),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_FPS_SHOW),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_FPS_SHOW),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_FPS_SHOW),
|
||||
fps_show,
|
||||
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,
|
||||
@ -4550,11 +4550,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.windowed_fullscreen,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_WINDOWED_FULLSCREEN),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_WINDOWED_FULLSCREEN),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_WINDOWED_FULLSCREEN),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_WINDOWED_FULLSCREEN),
|
||||
windowed_fullscreen,
|
||||
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,
|
||||
@ -4567,8 +4567,8 @@ static bool setting_append_list(
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->video.refresh_rate,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_REFRESH_RATE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_REFRESH_RATE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_REFRESH_RATE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_REFRESH_RATE),
|
||||
refresh_rate,
|
||||
"%.3f Hz",
|
||||
&group_info,
|
||||
@ -4582,8 +4582,8 @@ static bool setting_append_list(
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->video.refresh_rate,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_REFRESH_RATE_AUTO),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_REFRESH_RATE_AUTO),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO),
|
||||
refresh_rate,
|
||||
"%.3f Hz",
|
||||
&group_info,
|
||||
@ -4603,11 +4603,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.force_srgb_disable,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_FORCE_SRGB_DISABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FORCE_SRGB_DISABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_FORCE_SRGB_DISABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_FORCE_SRGB_DISABLE),
|
||||
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,
|
||||
@ -4751,11 +4751,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.scale_integer,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_SCALE_INTEGER),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_SCALE_INTEGER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_SCALE_INTEGER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_SCALE_INTEGER),
|
||||
scale_integer,
|
||||
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,
|
||||
@ -4772,8 +4772,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->video.viwidth,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_VI_WIDTH),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_VI_WIDTH),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_VI_WIDTH),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_VI_WIDTH),
|
||||
video_viwidth,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -4820,8 +4820,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->video.rotation,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_ROTATION),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_ROTATION),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_ROTATION),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_ROTATION),
|
||||
0,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -4883,8 +4883,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->video.swap_interval,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_SWAP_INTERVAL),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_SWAP_INTERVAL),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_SWAP_INTERVAL),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_SWAP_INTERVAL),
|
||||
swap_interval,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5026,8 +5026,8 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->path.softfilter_plugin,
|
||||
sizeof(settings->path.softfilter_plugin),
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_FILTER),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FILTER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_FILTER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_FILTER),
|
||||
settings->directory.video_filter,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5187,8 +5187,8 @@ static bool setting_append_list(
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->audio.max_timing_skew,
|
||||
menu_hash_to_str(MENU_LABEL_AUDIO_MAX_TIMING_SKEW),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_AUDIO_MAX_TIMING_SKEW),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_AUDIO_MAX_TIMING_SKEW),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_AUDIO_MAX_TIMING_SKEW),
|
||||
max_timing_skew,
|
||||
"%.2f",
|
||||
&group_info,
|
||||
@ -5210,8 +5210,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->audio.block_frames,
|
||||
menu_hash_to_str(MENU_LABEL_AUDIO_BLOCK_FRAMES),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_AUDIO_BLOCK_FRAMES),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_AUDIO_BLOCK_FRAMES),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_AUDIO_BLOCK_FRAMES),
|
||||
0,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5268,8 +5268,8 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->path.audio_dsp_plugin,
|
||||
sizeof(settings->path.audio_dsp_plugin),
|
||||
menu_hash_to_str(MENU_LABEL_AUDIO_DSP_PLUGIN),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_AUDIO_DSP_PLUGIN),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_AUDIO_DSP_PLUGIN),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_AUDIO_DSP_PLUGIN),
|
||||
settings->directory.audio_filter,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5502,8 +5502,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->input.turbo_period,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_TURBO_PERIOD),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_TURBO_PERIOD),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_TURBO_PERIOD),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_TURBO_PERIOD),
|
||||
turbo_period,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5517,8 +5517,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->input.turbo_duty_cycle,
|
||||
menu_hash_to_str(MENU_LABEL_INPUT_DUTY_CYCLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_DUTY_CYCLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_DUTY_CYCLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_DUTY_CYCLE),
|
||||
turbo_duty_cycle,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5581,11 +5581,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
recording_is_enabled(),
|
||||
menu_hash_to_str(MENU_LABEL_RECORD_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_RECORD_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_RECORD_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_RECORD_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,
|
||||
@ -5666,11 +5666,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.gpu_record,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_GPU_RECORD),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_GPU_RECORD),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_GPU_RECORD),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_GPU_RECORD),
|
||||
gpu_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,
|
||||
@ -5728,8 +5728,8 @@ static bool setting_append_list(
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->fastforward_ratio,
|
||||
menu_hash_to_str(MENU_LABEL_FASTFORWARD_RATIO),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_FASTFORWARD_RATIO),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_FASTFORWARD_RATIO),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_FASTFORWARD_RATIO),
|
||||
fastforward_ratio,
|
||||
"%.1fx",
|
||||
&group_info,
|
||||
@ -5744,8 +5744,8 @@ static bool setting_append_list(
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->slowmotion_ratio,
|
||||
menu_hash_to_str(MENU_LABEL_SLOWMOTION_RATIO),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_SLOWMOTION_RATIO),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_SLOWMOTION_RATIO),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_SLOWMOTION_RATIO),
|
||||
slowmotion_ratio,
|
||||
"%.1fx",
|
||||
&group_info,
|
||||
@ -5759,11 +5759,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->menu.throttle_framerate,
|
||||
menu_hash_to_str(MENU_LABEL_MENU_THROTTLE_FRAMERATE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_MENU_THROTTLE_FRAMERATE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_MENU_THROTTLE_FRAMERATE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_MENU_ENUM_THROTTLE_FRAMERATE),
|
||||
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,
|
||||
@ -5791,11 +5791,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->video.font_enable,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_FONT_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FONT_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_FONT_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_FONT_ENABLE),
|
||||
font_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,
|
||||
@ -5809,8 +5809,8 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->path.font,
|
||||
sizeof(settings->path.font),
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_FONT_PATH),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FONT_PATH),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_FONT_PATH),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_FONT_PATH),
|
||||
"",
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -5822,8 +5822,8 @@ static bool setting_append_list(
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->video.font_size,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_FONT_SIZE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FONT_SIZE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_FONT_SIZE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_FONT_SIZE),
|
||||
font_size,
|
||||
"%.1f",
|
||||
&group_info,
|
||||
@ -5837,8 +5837,8 @@ static bool setting_append_list(
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->video.msg_pos_x,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_MESSAGE_POS_X),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_MESSAGE_POS_X),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_MESSAGE_POS_X),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_MESSAGE_POS_X),
|
||||
message_pos_offset_x,
|
||||
"%.3f",
|
||||
&group_info,
|
||||
@ -5852,8 +5852,8 @@ static bool setting_append_list(
|
||||
CONFIG_FLOAT(
|
||||
list, list_info,
|
||||
&settings->video.msg_pos_y,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_MESSAGE_POS_Y),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_MESSAGE_POS_Y),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_MESSAGE_POS_Y),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_MESSAGE_POS_Y),
|
||||
message_pos_offset_y,
|
||||
"%.3f",
|
||||
&group_info,
|
||||
@ -6146,11 +6146,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->menu.navigation.wraparound.enable,
|
||||
menu_hash_to_str(MENU_LABEL_NAVIGATION_WRAPAROUND),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NAVIGATION_WRAPAROUND),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_NAVIGATION_WRAPAROUND),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NAVIGATION_WRAPAROUND),
|
||||
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,
|
||||
@ -6166,11 +6166,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->menu.show_advanced_settings,
|
||||
menu_hash_to_str(MENU_LABEL_SHOW_ADVANCED_SETTINGS),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_SHOW_ADVANCED_SETTINGS),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_SHOW_ADVANCED_SETTINGS),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_SHOW_ADVANCED_SETTINGS),
|
||||
show_advanced_settings,
|
||||
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,
|
||||
@ -6183,11 +6183,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->threaded_data_runloop_enable,
|
||||
menu_hash_to_str(MENU_LABEL_THREADED_DATA_RUNLOOP_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_THREADED_DATA_RUNLOOP_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_THREADED_DATA_RUNLOOP_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_THREADED_DATA_RUNLOOP_ENABLE),
|
||||
threaded_data_runloop_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,
|
||||
@ -6202,8 +6202,8 @@ static bool setting_append_list(
|
||||
CONFIG_HEX(
|
||||
list, list_info,
|
||||
&settings->menu.entry_normal_color,
|
||||
menu_hash_to_str(MENU_LABEL_ENTRY_NORMAL_COLOR),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ENTRY_NORMAL_COLOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_ENTRY_NORMAL_COLOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ENTRY_NORMAL_COLOR),
|
||||
menu_entry_normal_color,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -6217,8 +6217,8 @@ static bool setting_append_list(
|
||||
CONFIG_HEX(
|
||||
list, list_info,
|
||||
&settings->menu.entry_hover_color,
|
||||
menu_hash_to_str(MENU_LABEL_ENTRY_HOVER_COLOR),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ENTRY_HOVER_COLOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_ENTRY_HOVER_COLOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ENTRY_HOVER_COLOR),
|
||||
menu_entry_hover_color,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -6232,8 +6232,8 @@ static bool setting_append_list(
|
||||
CONFIG_HEX(
|
||||
list, list_info,
|
||||
&settings->menu.title_color,
|
||||
menu_hash_to_str(MENU_LABEL_TITLE_COLOR),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_TITLE_COLOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_TITLE_COLOR),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_TITLE_COLOR),
|
||||
menu_title_color,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -6465,11 +6465,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->menu.navigation.browser.filter.supported_extensions_enable,
|
||||
menu_hash_to_str(MENU_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_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,
|
||||
@ -6641,11 +6641,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->history_list_enable,
|
||||
menu_hash_to_str(MENU_LABEL_HISTORY_LIST_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_HISTORY_LIST_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_HISTORY_LIST_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_HISTORY_LIST_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,
|
||||
@ -6659,8 +6659,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->content_history_size,
|
||||
menu_hash_to_str(MENU_LABEL_CONTENT_HISTORY_SIZE),
|
||||
menu_hash_to_str(MENU_LABEL_CONTENT_HISTORY_SIZE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_CONTENT_HISTORY_SIZE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_CONTENT_HISTORY_SIZE),
|
||||
default_content_history_size,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -7055,11 +7055,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->ssh_enable,
|
||||
menu_hash_to_str(MENU_LABEL_SSH_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_SSH_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_SSH_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_SSH_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,
|
||||
@ -7072,11 +7072,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->samba_enable,
|
||||
menu_hash_to_str(MENU_LABEL_SAMBA_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_SAMBA_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_SAMBA_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_SAMBA_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,
|
||||
@ -7089,11 +7089,11 @@ static bool setting_append_list(
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&settings->bluetooth_enable,
|
||||
menu_hash_to_str(MENU_LABEL_BLUETOOTH_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_BLUETOOTH_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_BLUETOOTH_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_BLUETOOTH_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,
|
||||
@ -7119,8 +7119,8 @@ static bool setting_append_list(
|
||||
|
||||
CONFIG_ACTION(
|
||||
list, list_info,
|
||||
menu_hash_to_str(MENU_LABEL_ACCOUNTS_LIST),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ACCOUNTS_LIST),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_ACCOUNTS_LIST),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ACCOUNTS_LIST),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group);
|
||||
@ -7130,8 +7130,8 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->username,
|
||||
sizeof(settings->username),
|
||||
menu_hash_to_str(MENU_LABEL_NETPLAY_NICKNAME),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_NICKNAME),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETPLAY_NICKNAME),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETPLAY_NICKNAME),
|
||||
"",
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -7145,8 +7145,8 @@ static bool setting_append_list(
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->user_language,
|
||||
menu_hash_to_str(MENU_LABEL_USER_LANGUAGE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_USER_LANGUAGE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_USER_LANGUAGE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_USER_LANGUAGE),
|
||||
def_user_language,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -7183,8 +7183,8 @@ static bool setting_append_list(
|
||||
#ifdef HAVE_CHEEVOS
|
||||
CONFIG_ACTION(
|
||||
list, list_info,
|
||||
menu_hash_to_str(MENU_LABEL_ACCOUNTS_RETRO_ACHIEVEMENTS),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ACCOUNTS_RETRO_ACHIEVEMENTS),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_ACCOUNTS_RETRO_ACHIEVEMENTS),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ACCOUNTS_RETRO_ACHIEVEMENTS),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group);
|
||||
@ -7208,8 +7208,8 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->cheevos.username,
|
||||
sizeof(settings->cheevos.username),
|
||||
menu_hash_to_str(MENU_LABEL_CHEEVOS_USERNAME),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ACCOUNTS_CHEEVOS_USERNAME),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_CHEEVOS_USERNAME),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ACCOUNTS_CHEEVOS_USERNAME),
|
||||
"",
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -7223,8 +7223,8 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->cheevos.password,
|
||||
sizeof(settings->cheevos.password),
|
||||
menu_hash_to_str(MENU_LABEL_CHEEVOS_PASSWORD),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ACCOUNTS_CHEEVOS_PASSWORD),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_CHEEVOS_PASSWORD),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ACCOUNTS_CHEEVOS_PASSWORD),
|
||||
"",
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
@ -7251,10 +7251,10 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->directory.system,
|
||||
sizeof(settings->directory.system),
|
||||
menu_hash_to_str(MENU_LABEL_SYSTEM_DIRECTORY),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_SYSTEM_DIRECTORY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_SYSTEM_DIRECTORY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_SYSTEM_DIRECTORY),
|
||||
"",
|
||||
menu_hash_to_str(MENU_VALUE_DIRECTORY_CONTENT),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DIRECTORY_CONTENT),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
@ -7590,10 +7590,10 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
settings->directory.playlist,
|
||||
sizeof(settings->directory.playlist),
|
||||
menu_hash_to_str(MENU_LABEL_PLAYLIST_DIRECTORY),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_PLAYLIST_DIRECTORY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_PLAYLIST_DIRECTORY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_PLAYLIST_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,
|
||||
@ -7605,10 +7605,10 @@ static bool setting_append_list(
|
||||
list, list_info,
|
||||
global->dir.savefile,
|
||||
sizeof(global->dir.savefile),
|
||||
menu_hash_to_str(MENU_LABEL_SAVEFILE_DIRECTORY),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_SAVEFILE_DIRECTORY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_SAVEFILE_DIRECTORY),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_SAVEFILE_DIRECTORY),
|
||||
"",
|
||||
menu_hash_to_str(MENU_VALUE_DIRECTORY_CONTENT),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DIRECTORY_CONTENT),
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
|
Loading…
x
Reference in New Issue
Block a user