(menu_setting.c) Use menu_hash_to_str_enum for everything but parent_group values now

This commit is contained in:
twinaphex 2016-06-16 12:23:10 +02:00
parent 2afecd8c57
commit 547e240296

View File

@ -5628,8 +5628,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&global->record.use_output_dir,
menu_hash_to_str(MENU_LABEL_RECORD_USE_OUTPUT_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_RECORD_USE_OUTPUT_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_RECORD_USE_OUTPUT_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_RECORD_USE_OUTPUT_DIRECTORY),
false,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -5649,8 +5649,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->video.post_filter_record,
menu_hash_to_str(MENU_LABEL_VIDEO_POST_FILTER_RECORD),
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_POST_FILTER_RECORD),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_POST_FILTER_RECORD),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_POST_FILTER_RECORD),
post_filter_record,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -5952,8 +5952,8 @@ static bool setting_append_list(
list, list_info,
settings->path.overlay,
sizeof(settings->path.overlay),
menu_hash_to_str(MENU_LABEL_OVERLAY_PRESET),
menu_hash_to_str(MENU_LABEL_VALUE_OVERLAY_PRESET),
menu_hash_to_str_enum(MENU_ENUM_LABEL_OVERLAY_PRESET),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OVERLAY_PRESET),
settings->directory.overlay,
&group_info,
&subgroup_info,
@ -5967,8 +5967,8 @@ static bool setting_append_list(
CONFIG_FLOAT(
list, list_info,
&settings->input.overlay_opacity,
menu_hash_to_str(MENU_LABEL_OVERLAY_OPACITY),
menu_hash_to_str(MENU_LABEL_VALUE_OVERLAY_OPACITY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_OVERLAY_OPACITY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OVERLAY_OPACITY),
0.7f,
"%.2f",
&group_info,
@ -5984,8 +5984,8 @@ static bool setting_append_list(
CONFIG_FLOAT(
list, list_info,
&settings->input.overlay_scale,
menu_hash_to_str(MENU_LABEL_OVERLAY_SCALE),
menu_hash_to_str(MENU_LABEL_VALUE_OVERLAY_SCALE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_OVERLAY_SCALE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OVERLAY_SCALE),
1.0f,
"%.2f",
&group_info,
@ -6006,8 +6006,8 @@ static bool setting_append_list(
list, list_info,
settings->path.osk_overlay,
sizeof(settings->path.osk_overlay),
menu_hash_to_str(MENU_LABEL_KEYBOARD_OVERLAY_PRESET),
menu_hash_to_str(MENU_LABEL_VALUE_KEYBOARD_OVERLAY_PRESET),
menu_hash_to_str_enum(MENU_ENUM_LABEL_KEYBOARD_OVERLAY_PRESET),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_KEYBOARD_OVERLAY_PRESET),
global->dir.osk_overlay,
&group_info,
&subgroup_info,
@ -6317,8 +6317,8 @@ static bool setting_append_list(
list, list_info,
settings->menu.xmb_font,
sizeof(settings->menu.xmb_font),
menu_hash_to_str(MENU_LABEL_XMB_FONT),
menu_hash_to_str(MENU_LABEL_VALUE_XMB_FONT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_XMB_FONT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_XMB_FONT),
settings->menu.xmb_font,
&group_info,
&subgroup_info,
@ -6330,8 +6330,8 @@ static bool setting_append_list(
CONFIG_UINT(
list, list_info,
&settings->menu.xmb_theme,
menu_hash_to_str(MENU_LABEL_XMB_THEME),
menu_hash_to_str(MENU_LABEL_VALUE_XMB_THEME),
menu_hash_to_str_enum(MENU_ENUM_LABEL_XMB_THEME),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_XMB_THEME),
xmb_theme,
&group_info,
&subgroup_info,
@ -6344,8 +6344,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->menu.xmb_shadows_enable,
menu_hash_to_str(MENU_LABEL_XMB_SHADOWS_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_XMB_SHADOWS_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_XMB_SHADOWS_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_XMB_SHADOWS_ENABLE),
xmb_shadows_enable,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6361,8 +6361,8 @@ static bool setting_append_list(
CONFIG_UINT(
list, list_info,
&settings->menu.shader_pipeline,
menu_hash_to_str(MENU_LABEL_XMB_RIBBON_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_XMB_RIBBON_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_XMB_RIBBON_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_XMB_RIBBON_ENABLE),
menu_shader_pipeline,
&group_info,
&subgroup_info,
@ -6376,8 +6376,8 @@ static bool setting_append_list(
CONFIG_UINT(
list, list_info,
&settings->menu.background_gradient,
menu_hash_to_str(MENU_LABEL_XMB_GRADIENT),
menu_hash_to_str(MENU_LABEL_VALUE_XMB_GRADIENT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_XMB_GRADIENT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_XMB_GRADIENT),
menu_background_gradient,
&group_info,
&subgroup_info,
@ -6391,8 +6391,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->menu_show_start_screen,
menu_hash_to_str(MENU_LABEL_RGUI_SHOW_START_SCREEN),
menu_hash_to_str(MENU_LABEL_VALUE_RGUI_SHOW_START_SCREEN),
menu_hash_to_str_enum(MENU_ENUM_LABEL_RGUI_SHOW_START_SCREEN),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_RGUI_SHOW_START_SCREEN),
default_menu_show_start_screen,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6407,8 +6407,8 @@ static bool setting_append_list(
CONFIG_UINT(
list, list_info,
&settings->menu.thumbnails,
menu_hash_to_str(MENU_LABEL_THUMBNAILS),
menu_hash_to_str(MENU_LABEL_VALUE_THUMBNAILS),
menu_hash_to_str_enum(MENU_ENUM_LABEL_THUMBNAILS),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_THUMBNAILS),
menu_thumbnails_default,
&group_info,
&subgroup_info,
@ -6421,8 +6421,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->menu.timedate_enable,
menu_hash_to_str(MENU_LABEL_TIMEDATE_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_TIMEDATE_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_TIMEDATE_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_TIMEDATE_ENABLE),
true,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6437,8 +6437,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->menu.core_enable,
menu_hash_to_str(MENU_LABEL_CORE_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_CORE_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_CORE_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_CORE_ENABLE),
true,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6560,8 +6560,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->video.disable_composition,
menu_hash_to_str(MENU_LABEL_VIDEO_DISABLE_COMPOSITION),
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_DISABLE_COMPOSITION),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_DISABLE_COMPOSITION),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_DISABLE_COMPOSITION),
disable_composition,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6577,8 +6577,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->ui.companion_enable,
menu_hash_to_str(MENU_LABEL_UI_COMPANION_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_UI_COMPANION_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_UI_COMPANION_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_UI_COMPANION_ENABLE),
ui_companion_enable,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6593,8 +6593,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->ui.companion_start_on_boot,
menu_hash_to_str(MENU_LABEL_UI_COMPANION_START_ON_BOOT),
menu_hash_to_str(MENU_LABEL_VALUE_UI_COMPANION_START_ON_BOOT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_UI_COMPANION_START_ON_BOOT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_UI_COMPANION_START_ON_BOOT),
ui_companion_start_on_boot,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6609,8 +6609,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->ui.menubar_enable,
menu_hash_to_str(MENU_LABEL_UI_MENUBAR_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_UI_MENUBAR_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_UI_MENUBAR_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_UI_MENUBAR_ENABLE),
true,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6700,8 +6700,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->cheevos.test_unofficial,
menu_hash_to_str(MENU_LABEL_CHEEVOS_TEST_UNOFFICIAL),
menu_hash_to_str(MENU_LABEL_VALUE_CHEEVOS_TEST_UNOFFICIAL),
menu_hash_to_str_enum(MENU_ENUM_LABEL_CHEEVOS_TEST_UNOFFICIAL),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_CHEEVOS_TEST_UNOFFICIAL),
true,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6717,8 +6717,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->cheevos.hardcore_mode_enable,
menu_hash_to_str(MENU_LABEL_CHEEVOS_HARDCORE_MODE_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_CHEEVOS_HARDCORE_MODE_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_CHEEVOS_HARDCORE_MODE_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_CHEEVOS_HARDCORE_MODE_ENABLE),
false,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6747,8 +6747,8 @@ static bool setting_append_list(
list, list_info,
settings->network.buildbot_url,
sizeof(settings->network.buildbot_url),
menu_hash_to_str(MENU_LABEL_CORE_UPDATER_BUILDBOT_URL),
menu_hash_to_str(MENU_LABEL_VALUE_CORE_UPDATER_BUILDBOT_URL),
menu_hash_to_str_enum(MENU_ENUM_LABEL_CORE_UPDATER_BUILDBOT_URL),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_CORE_UPDATER_BUILDBOT_URL),
buildbot_server_url,
&group_info,
&subgroup_info,
@ -6762,8 +6762,8 @@ static bool setting_append_list(
list, list_info,
settings->network.buildbot_assets_url,
sizeof(settings->network.buildbot_assets_url),
menu_hash_to_str(MENU_LABEL_BUILDBOT_ASSETS_URL),
menu_hash_to_str(MENU_LABEL_VALUE_BUILDBOT_ASSETS_URL),
menu_hash_to_str_enum(MENU_ENUM_LABEL_BUILDBOT_ASSETS_URL),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_BUILDBOT_ASSETS_URL),
buildbot_assets_server_url,
&group_info,
&subgroup_info,
@ -6776,8 +6776,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->network.buildbot_auto_extract_archive,
menu_hash_to_str(MENU_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE),
menu_hash_to_str(MENU_LABEL_VALUE_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE),
true,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6811,8 +6811,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&global->netplay.enable,
menu_hash_to_str(MENU_LABEL_NETPLAY_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETPLAY_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETPLAY_ENABLE),
false,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6828,8 +6828,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->input.netplay_client_swap_input,
menu_hash_to_str(MENU_LABEL_NETPLAY_CLIENT_SWAP_INPUT),
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_CLIENT_SWAP_INPUT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETPLAY_CLIENT_SWAP_INPUT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETPLAY_CLIENT_SWAP_INPUT),
netplay_client_swap_input,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6845,8 +6845,8 @@ static bool setting_append_list(
list, list_info,
global->netplay.server,
sizeof(global->netplay.server),
menu_hash_to_str(MENU_LABEL_NETPLAY_IP_ADDRESS),
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_IP_ADDRESS),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETPLAY_IP_ADDRESS),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETPLAY_IP_ADDRESS),
"",
&group_info,
&subgroup_info,
@ -6859,8 +6859,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&global->netplay.is_client,
menu_hash_to_str(MENU_LABEL_NETPLAY_MODE),
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_MODE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETPLAY_MODE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETPLAY_MODE),
false,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6875,8 +6875,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&global->netplay.is_spectate,
menu_hash_to_str(MENU_LABEL_NETPLAY_SPECTATOR_MODE_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_SPECTATOR_MODE_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETPLAY_SPECTATOR_MODE_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETPLAY_SPECTATOR_MODE_ENABLE),
false,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6891,8 +6891,8 @@ static bool setting_append_list(
CONFIG_UINT(
list, list_info,
&global->netplay.sync_frames,
menu_hash_to_str(MENU_LABEL_NETPLAY_DELAY_FRAMES),
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_DELAY_FRAMES),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETPLAY_DELAY_FRAMES),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETPLAY_DELAY_FRAMES),
0,
&group_info,
&subgroup_info,
@ -6906,8 +6906,8 @@ static bool setting_append_list(
CONFIG_UINT(
list, list_info,
&global->netplay.port,
menu_hash_to_str(MENU_LABEL_NETPLAY_TCP_UDP_PORT),
menu_hash_to_str(MENU_LABEL_VALUE_NETPLAY_TCP_UDP_PORT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETPLAY_TCP_UDP_PORT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETPLAY_TCP_UDP_PORT),
RARCH_DEFAULT_PORT,
&group_info,
&subgroup_info,
@ -6933,8 +6933,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->network_cmd_enable,
menu_hash_to_str(MENU_LABEL_NETWORK_CMD_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_NETWORK_CMD_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETWORK_CMD_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETWORK_CMD_ENABLE),
network_cmd_enable,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6949,8 +6949,8 @@ static bool setting_append_list(
CONFIG_UINT(
list, list_info,
&settings->network_cmd_port,
menu_hash_to_str(MENU_LABEL_NETWORK_CMD_PORT),
menu_hash_to_str(MENU_LABEL_VALUE_NETWORK_CMD_PORT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETWORK_CMD_PORT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETWORK_CMD_PORT),
network_cmd_port,
&group_info,
&subgroup_info,
@ -6964,8 +6964,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->network_remote_enable,
menu_hash_to_str(MENU_LABEL_NETWORK_REMOTE_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_NETWORK_REMOTE_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETWORK_REMOTE_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_NETWORK_REMOTE_ENABLE),
"", /* todo: add default */
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -6980,7 +6980,7 @@ static bool setting_append_list(
CONFIG_UINT(
list, list_info,
&settings->network_remote_base_port,
menu_hash_to_str(MENU_LABEL_NETWORK_REMOTE_PORT),
menu_hash_to_str_enum(MENU_ENUM_LABEL_NETWORK_REMOTE_PORT),
/* todo: localization */
"Network Remote Base Port",
network_remote_base_port,
@ -6997,7 +6997,7 @@ static bool setting_append_list(
{
char s1[64], s2[64];
snprintf(s1, sizeof(s1), "%s_user_p%d", menu_hash_to_str(MENU_LABEL_NETWORK_REMOTE_ENABLE), user + 1);
snprintf(s1, sizeof(s1), "%s_user_p%d", menu_hash_to_str_enum(MENU_ENUM_LABEL_NETWORK_REMOTE_ENABLE), user + 1);
snprintf(s2, sizeof(s2), "User %d Remote Enable", user + 1);
@ -7023,8 +7023,8 @@ static bool setting_append_list(
CONFIG_BOOL(
list, list_info,
&settings->stdin_cmd_enable,
menu_hash_to_str(MENU_LABEL_STDIN_CMD_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_STDIN_CMD_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_STDIN_CMD_ENABLE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_STDIN_CMD_ENABLE),
stdin_cmd_enable,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
@ -7296,10 +7296,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.dynamic_wallpapers,
sizeof(settings->directory.dynamic_wallpapers),
menu_hash_to_str(MENU_LABEL_DYNAMIC_WALLPAPERS_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_DYNAMIC_WALLPAPERS_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_DYNAMIC_WALLPAPERS_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DYNAMIC_WALLPAPERS_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,
@ -7311,10 +7311,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.thumbnails,
sizeof(settings->directory.thumbnails),
menu_hash_to_str(MENU_LABEL_THUMBNAILS_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_THUMBNAILS_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_THUMBNAILS_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_THUMBNAILS_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,
@ -7326,10 +7326,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.menu_content,
sizeof(settings->directory.menu_content),
menu_hash_to_str(MENU_LABEL_RGUI_BROWSER_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_RGUI_BROWSER_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_RGUI_BROWSER_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_RGUI_BROWSER_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,
@ -7341,10 +7341,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.menu_config,
sizeof(settings->directory.menu_config),
menu_hash_to_str(MENU_LABEL_RGUI_CONFIG_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_RGUI_CONFIG_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_RGUI_CONFIG_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_RGUI_CONFIG_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,
@ -7357,10 +7357,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.libretro,
sizeof(settings->directory.libretro),
menu_hash_to_str(MENU_LABEL_LIBRETRO_DIR_PATH),
menu_hash_to_str(MENU_LABEL_VALUE_LIBRETRO_DIR_PATH),
menu_hash_to_str_enum(MENU_ENUM_LABEL_LIBRETRO_DIR_PATH),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_LIBRETRO_DIR_PATH),
g_defaults.dir.core,
menu_hash_to_str(MENU_VALUE_DIRECTORY_NONE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DIRECTORY_NONE),
&group_info,
&subgroup_info,
parent_group,
@ -7373,10 +7373,10 @@ static bool setting_append_list(
list, list_info,
settings->path.libretro_info,
sizeof(settings->path.libretro_info),
menu_hash_to_str(MENU_LABEL_LIBRETRO_INFO_PATH),
menu_hash_to_str(MENU_LABEL_VALUE_LIBRETRO_INFO_PATH),
menu_hash_to_str_enum(MENU_ENUM_LABEL_LIBRETRO_INFO_PATH),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_LIBRETRO_INFO_PATH),
g_defaults.dir.core_info,
menu_hash_to_str(MENU_VALUE_DIRECTORY_NONE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DIRECTORY_NONE),
&group_info,
&subgroup_info,
parent_group,
@ -7390,10 +7390,10 @@ static bool setting_append_list(
list, list_info,
settings->path.content_database,
sizeof(settings->path.content_database),
menu_hash_to_str(MENU_LABEL_CONTENT_DATABASE_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_CONTENT_DATABASE_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_CONTENT_DATABASE_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_CONTENT_DATABASE_DIRECTORY),
"",
menu_hash_to_str(MENU_VALUE_DIRECTORY_NONE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DIRECTORY_NONE),
&group_info,
&subgroup_info,
parent_group,
@ -7405,10 +7405,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.cursor,
sizeof(settings->directory.cursor),
menu_hash_to_str(MENU_LABEL_CURSOR_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_CURSOR_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_CURSOR_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_CURSOR_DIRECTORY),
"",
menu_hash_to_str(MENU_VALUE_DIRECTORY_NONE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DIRECTORY_NONE),
&group_info,
&subgroup_info,
parent_group,
@ -7421,10 +7421,10 @@ static bool setting_append_list(
list, list_info,
settings->path.cheat_database,
sizeof(settings->path.cheat_database),
menu_hash_to_str(MENU_LABEL_CHEAT_DATABASE_PATH),
menu_hash_to_str(MENU_LABEL_VALUE_CHEAT_DATABASE_PATH),
menu_hash_to_str_enum(MENU_ENUM_LABEL_CHEAT_DATABASE_PATH),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_CHEAT_DATABASE_PATH),
"",
menu_hash_to_str(MENU_VALUE_DIRECTORY_NONE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DIRECTORY_NONE),
&group_info,
&subgroup_info,
parent_group,
@ -7436,10 +7436,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.video_filter,
sizeof(settings->directory.video_filter),
menu_hash_to_str(MENU_LABEL_VIDEO_FILTER_DIR),
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FILTER_DIR),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_FILTER_DIR),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_FILTER_DIR),
"",
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,
@ -7451,10 +7451,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.audio_filter,
sizeof(settings->directory.audio_filter),
menu_hash_to_str(MENU_LABEL_AUDIO_FILTER_DIR),
menu_hash_to_str(MENU_LABEL_VALUE_AUDIO_FILTER_DIR),
menu_hash_to_str_enum(MENU_ENUM_LABEL_AUDIO_FILTER_DIR),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_AUDIO_FILTER_DIR),
"",
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,
@ -7466,10 +7466,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.video_shader,
sizeof(settings->directory.video_shader),
menu_hash_to_str(MENU_LABEL_VIDEO_SHADER_DIR),
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_SHADER_DIR),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_SHADER_DIR),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_DIR),
g_defaults.dir.shader,
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,
@ -7483,10 +7483,10 @@ static bool setting_append_list(
list, list_info,
global->record.output_dir,
sizeof(global->record.output_dir),
menu_hash_to_str(MENU_LABEL_RECORDING_OUTPUT_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_RECORDING_OUTPUT_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_RECORDING_OUTPUT_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_RECORDING_OUTPUT_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,
@ -7498,10 +7498,10 @@ static bool setting_append_list(
list, list_info,
global->record.config_dir,
sizeof(global->record.config_dir),
menu_hash_to_str(MENU_LABEL_RECORDING_CONFIG_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_RECORDING_CONFIG_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_RECORDING_CONFIG_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_RECORDING_CONFIG_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,
@ -7514,10 +7514,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.overlay,
sizeof(settings->directory.overlay),
menu_hash_to_str(MENU_LABEL_OVERLAY_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_OVERLAY_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_OVERLAY_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OVERLAY_DIRECTORY),
g_defaults.dir.overlay,
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,
@ -7529,10 +7529,10 @@ static bool setting_append_list(
list, list_info,
global->dir.osk_overlay,
sizeof(global->dir.osk_overlay),
menu_hash_to_str(MENU_LABEL_OSK_OVERLAY_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_OSK_OVERLAY_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_OSK_OVERLAY_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OSK_OVERLAY_DIRECTORY),
g_defaults.dir.osk_overlay,
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,
@ -7545,10 +7545,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.screenshot,
sizeof(settings->directory.screenshot),
menu_hash_to_str(MENU_LABEL_SCREENSHOT_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_SCREENSHOT_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_SCREENSHOT_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_SCREENSHOT_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,
@ -7560,10 +7560,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.autoconfig,
sizeof(settings->directory.autoconfig),
menu_hash_to_str(MENU_LABEL_JOYPAD_AUTOCONFIG_DIR),
menu_hash_to_str(MENU_LABEL_VALUE_JOYPAD_AUTOCONFIG_DIR),
menu_hash_to_str_enum(MENU_ENUM_LABEL_JOYPAD_AUTOCONFIG_DIR),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_JOYPAD_AUTOCONFIG_DIR),
"",
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,
@ -7575,10 +7575,10 @@ static bool setting_append_list(
list, list_info,
settings->directory.input_remapping,
sizeof(settings->directory.input_remapping),
menu_hash_to_str(MENU_LABEL_INPUT_REMAPPING_DIRECTORY),
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_REMAPPING_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_REMAPPING_DIRECTORY),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_REMAPPING_DIRECTORY),
"",
menu_hash_to_str(MENU_VALUE_DIRECTORY_NONE),
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DIRECTORY_NONE),
&group_info,
&subgroup_info,
parent_group,