diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 71381d9ff2..f6ca31e1b4 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -1202,11 +1202,11 @@ void video_driver_menu_settings(void **list_data, void *list_info_data, CONFIG_BOOL( list, list_info, &global->console.screen.pal60_enable, - msg_hash_to_str(MENU_ENUM_LABEL_PAL60_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_PAL60_ENABLE), + MENU_ENUM_LABEL_PAL60_ENABLE, + MENU_ENUM_LABEL_VALUE_PAL60_ENABLE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, group_info, subgroup_info, parent_group, @@ -1247,11 +1247,11 @@ void video_driver_menu_settings(void **list_data, void *list_info_data, CONFIG_BOOL( list, list_info, &global->console.softfilter_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_SOFT_FILTER), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SOFT_FILTER), + MENU_ENUM_LABEL_VIDEO_SOFT_FILTER, + MENU_ENUM_LABEL_VALUE_VIDEO_SOFT_FILTER, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, group_info, subgroup_info, parent_group, diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 9c2fe54bec..3bb4c92d64 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -2742,11 +2742,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.shared_context, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_SHARED_CONTEXT), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SHARED_CONTEXT), + MENU_ENUM_LABEL_VIDEO_SHARED_CONTEXT, + MENU_ENUM_LABEL_VALUE_VIDEO_SHARED_CONTEXT, video_shared_context, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2758,11 +2758,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->load_dummy_on_core_shutdown, - msg_hash_to_str(MENU_ENUM_LABEL_DUMMY_ON_CORE_SHUTDOWN), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DUMMY_ON_CORE_SHUTDOWN), + MENU_ENUM_LABEL_DUMMY_ON_CORE_SHUTDOWN, + MENU_ENUM_LABEL_VALUE_DUMMY_ON_CORE_SHUTDOWN, load_dummy_on_core_shutdown, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2774,11 +2774,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->set_supports_no_game_enable, - msg_hash_to_str(MENU_ENUM_LABEL_CORE_SET_SUPPORTS_NO_CONTENT_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_SET_SUPPORTS_NO_CONTENT_ENABLE), + MENU_ENUM_LABEL_CORE_SET_SUPPORTS_NO_CONTENT_ENABLE, + MENU_ENUM_LABEL_VALUE_CORE_SET_SUPPORTS_NO_CONTENT_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2802,11 +2802,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->config_save_on_exit, - msg_hash_to_str(MENU_ENUM_LABEL_CONFIG_SAVE_ON_EXIT), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CONFIG_SAVE_ON_EXIT), + MENU_ENUM_LABEL_CONFIG_SAVE_ON_EXIT, + MENU_ENUM_LABEL_VALUE_CONFIG_SAVE_ON_EXIT, config_save_on_exit, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2818,11 +2818,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->confirm_on_exit, - msg_hash_to_str(MENU_ENUM_LABEL_CONFIRM_ON_EXIT), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CONFIRM_ON_EXIT), + MENU_ENUM_LABEL_CONFIRM_ON_EXIT, + MENU_ENUM_LABEL_VALUE_CONFIRM_ON_EXIT, confirm_on_exit, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2834,11 +2834,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->show_hidden_files, - msg_hash_to_str(MENU_ENUM_LABEL_SHOW_HIDDEN_FILES), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SHOW_HIDDEN_FILES), + MENU_ENUM_LABEL_SHOW_HIDDEN_FILES, + MENU_ENUM_LABEL_VALUE_SHOW_HIDDEN_FILES, show_hidden_files, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2850,11 +2850,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->game_specific_options, - msg_hash_to_str(MENU_ENUM_LABEL_GAME_SPECIFIC_OPTIONS), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_GAME_SPECIFIC_OPTIONS), + MENU_ENUM_LABEL_GAME_SPECIFIC_OPTIONS, + MENU_ENUM_LABEL_VALUE_GAME_SPECIFIC_OPTIONS, default_game_specific_options, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2866,11 +2866,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->auto_overrides_enable, - msg_hash_to_str(MENU_ENUM_LABEL_AUTO_OVERRIDES_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_AUTO_OVERRIDES_ENABLE), + MENU_ENUM_LABEL_AUTO_OVERRIDES_ENABLE, + MENU_ENUM_LABEL_VALUE_AUTO_OVERRIDES_ENABLE, default_auto_overrides_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2882,11 +2882,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->auto_remaps_enable, - msg_hash_to_str(MENU_ENUM_LABEL_AUTO_REMAPS_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_AUTO_REMAPS_ENABLE), + MENU_ENUM_LABEL_AUTO_REMAPS_ENABLE, + MENU_ENUM_LABEL_VALUE_AUTO_REMAPS_ENABLE, default_auto_remaps_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2898,11 +2898,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->auto_shaders_enable, - msg_hash_to_str(MENU_ENUM_LABEL_AUTO_SHADERS_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_AUTO_SHADERS_ENABLE), + MENU_ENUM_LABEL_AUTO_SHADERS_ENABLE, + MENU_ENUM_LABEL_VALUE_AUTO_SHADERS_ENABLE, default_auto_shaders_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2928,11 +2928,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, verbosity_get_ptr(), - msg_hash_to_str(MENU_ENUM_LABEL_LOG_VERBOSITY), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LOG_VERBOSITY), + MENU_ENUM_LABEL_LOG_VERBOSITY, + MENU_ENUM_LABEL_VALUE_LOG_VERBOSITY, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2968,11 +2968,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, tmp_b, - msg_hash_to_str(MENU_ENUM_LABEL_PERFCNT_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_PERFCNT_ENABLE), + MENU_ENUM_LABEL_PERFCNT_ENABLE, + MENU_ENUM_LABEL_VALUE_PERFCNT_ENABLE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -2994,11 +2994,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->sort_savefiles_enable, - msg_hash_to_str(MENU_ENUM_LABEL_SORT_SAVEFILES_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SORT_SAVEFILES_ENABLE), + MENU_ENUM_LABEL_SORT_SAVEFILES_ENABLE, + MENU_ENUM_LABEL_VALUE_SORT_SAVEFILES_ENABLE, default_sort_savefiles_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3010,11 +3010,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->sort_savestates_enable, - msg_hash_to_str(MENU_ENUM_LABEL_SORT_SAVESTATES_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SORT_SAVESTATES_ENABLE), + MENU_ENUM_LABEL_SORT_SAVESTATES_ENABLE, + MENU_ENUM_LABEL_VALUE_SORT_SAVESTATES_ENABLE, default_sort_savestates_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3026,11 +3026,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->block_sram_overwrite, - msg_hash_to_str(MENU_ENUM_LABEL_BLOCK_SRAM_OVERWRITE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_BLOCK_SRAM_OVERWRITE), + MENU_ENUM_LABEL_BLOCK_SRAM_OVERWRITE, + MENU_ENUM_LABEL_VALUE_BLOCK_SRAM_OVERWRITE, block_sram_overwrite, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3062,11 +3062,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->savestate_auto_index, - msg_hash_to_str(MENU_ENUM_LABEL_SAVESTATE_AUTO_INDEX), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SAVESTATE_AUTO_INDEX), + MENU_ENUM_LABEL_SAVESTATE_AUTO_INDEX, + MENU_ENUM_LABEL_VALUE_SAVESTATE_AUTO_INDEX, savestate_auto_index, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3078,11 +3078,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->savestate_auto_save, - msg_hash_to_str(MENU_ENUM_LABEL_SAVESTATE_AUTO_SAVE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SAVESTATE_AUTO_SAVE), + MENU_ENUM_LABEL_SAVESTATE_AUTO_SAVE, + MENU_ENUM_LABEL_VALUE_SAVESTATE_AUTO_SAVE, savestate_auto_save, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3094,11 +3094,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->savestate_auto_load, - msg_hash_to_str(MENU_ENUM_LABEL_SAVESTATE_AUTO_LOAD), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SAVESTATE_AUTO_LOAD), + MENU_ENUM_LABEL_SAVESTATE_AUTO_LOAD, + MENU_ENUM_LABEL_VALUE_SAVESTATE_AUTO_LOAD, savestate_auto_load, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3121,11 +3121,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->rewind_enable, - msg_hash_to_str(MENU_ENUM_LABEL_REWIND_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_REWIND_ENABLE), + MENU_ENUM_LABEL_REWIND_ENABLE, + MENU_ENUM_LABEL_VALUE_REWIND_ENABLE, rewind_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3177,11 +3177,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->ui.suspend_screensaver_enable, - msg_hash_to_str(MENU_ENUM_LABEL_SUSPEND_SCREENSAVER_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SUSPEND_SCREENSAVER_ENABLE), + MENU_ENUM_LABEL_SUSPEND_SCREENSAVER_ENABLE, + MENU_ENUM_LABEL_VALUE_SUSPEND_SCREENSAVER_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3194,11 +3194,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->fps_show, - msg_hash_to_str(MENU_ENUM_LABEL_FPS_SHOW), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_FPS_SHOW), + MENU_ENUM_LABEL_FPS_SHOW, + MENU_ENUM_LABEL_VALUE_FPS_SHOW, fps_show, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3240,11 +3240,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.fullscreen, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_FULLSCREEN), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_FULLSCREEN), + MENU_ENUM_LABEL_VIDEO_FULLSCREEN, + MENU_ENUM_LABEL_VALUE_VIDEO_FULLSCREEN, fullscreen, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3259,11 +3259,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.windowed_fullscreen, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_WINDOWED_FULLSCREEN), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_WINDOWED_FULLSCREEN), + MENU_ENUM_LABEL_VIDEO_WINDOWED_FULLSCREEN, + MENU_ENUM_LABEL_VALUE_VIDEO_WINDOWED_FULLSCREEN, windowed_fullscreen, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3312,11 +3312,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.force_srgb_disable, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_FORCE_SRGB_DISABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_FORCE_SRGB_DISABLE), + MENU_ENUM_LABEL_VIDEO_FORCE_SRGB_DISABLE, + MENU_ENUM_LABEL_VALUE_VIDEO_FORCE_SRGB_DISABLE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3460,11 +3460,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.scale_integer, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_SCALE_INTEGER), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SCALE_INTEGER), + MENU_ENUM_LABEL_VIDEO_SCALE_INTEGER, + MENU_ENUM_LABEL_VALUE_VIDEO_SCALE_INTEGER, scale_integer, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3495,11 +3495,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.vfilter, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_VFILTER), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_VFILTER), + MENU_ENUM_LABEL_VIDEO_VFILTER, + MENU_ENUM_LABEL_VALUE_VIDEO_VFILTER, video_vfilter, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3512,11 +3512,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.smooth, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_SMOOTH), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SMOOTH), + MENU_ENUM_LABEL_VIDEO_SMOOTH, + MENU_ENUM_LABEL_VALUE_VIDEO_SMOOTH, video_smooth, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3556,11 +3556,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.threaded, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_THREADED), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_THREADED), + MENU_ENUM_LABEL_VIDEO_THREADED, + MENU_ENUM_LABEL_VALUE_VIDEO_THREADED, video_threaded, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3575,11 +3575,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.vsync, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_VSYNC), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_VSYNC), + MENU_ENUM_LABEL_VIDEO_VSYNC, + MENU_ENUM_LABEL_VALUE_VIDEO_VSYNC, vsync, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3625,11 +3625,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.hard_sync, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_HARD_SYNC), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_HARD_SYNC), + MENU_ENUM_LABEL_VIDEO_HARD_SYNC, + MENU_ENUM_LABEL_VALUE_VIDEO_HARD_SYNC, hard_sync, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3674,11 +3674,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.black_frame_insertion, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_BLACK_FRAME_INSERTION), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION), + MENU_ENUM_LABEL_VIDEO_BLACK_FRAME_INSERTION, + MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION, black_frame_insertion, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3700,11 +3700,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.gpu_screenshot, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_GPU_SCREENSHOT), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_GPU_SCREENSHOT), + MENU_ENUM_LABEL_VIDEO_GPU_SCREENSHOT, + MENU_ENUM_LABEL_VALUE_VIDEO_GPU_SCREENSHOT, gpu_screenshot, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3718,11 +3718,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.allow_rotate, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_ALLOW_ROTATE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_ALLOW_ROTATE), + MENU_ENUM_LABEL_VIDEO_ALLOW_ROTATE, + MENU_ENUM_LABEL_VALUE_VIDEO_ALLOW_ROTATE, allow_rotate, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3735,11 +3735,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.crop_overscan, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_CROP_OVERSCAN), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_CROP_OVERSCAN), + MENU_ENUM_LABEL_VIDEO_CROP_OVERSCAN, + MENU_ENUM_LABEL_VALUE_VIDEO_CROP_OVERSCAN, crop_overscan, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3780,11 +3780,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->audio.enable, - msg_hash_to_str(MENU_ENUM_LABEL_AUDIO_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_AUDIO_ENABLE), + MENU_ENUM_LABEL_AUDIO_ENABLE, + MENU_ENUM_LABEL_VALUE_AUDIO_ENABLE, audio_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3797,11 +3797,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->audio.mute_enable, - msg_hash_to_str(MENU_ENUM_LABEL_AUDIO_MUTE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_AUDIO_MUTE), + MENU_ENUM_LABEL_AUDIO_MUTE, + MENU_ENUM_LABEL_VALUE_AUDIO_MUTE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3830,11 +3830,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &global->console.sound.system_bgm_enable, - msg_hash_to_str(MENU_ENUM_LABEL_SYSTEM_BGM_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SYSTEM_BGM_ENABLE), + MENU_ENUM_LABEL_SYSTEM_BGM_ENABLE, + MENU_ENUM_LABEL_VALUE_SYSTEM_BGM_ENABLE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -3860,11 +3860,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->audio.sync, - msg_hash_to_str(MENU_ENUM_LABEL_AUDIO_SYNC), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_AUDIO_SYNC), + MENU_ENUM_LABEL_AUDIO_SYNC, + MENU_ENUM_LABEL_VALUE_AUDIO_SYNC, audio_sync, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4058,11 +4058,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.backtouch_enable, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_TOUCH_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_TOUCH_ENABLE), + MENU_ENUM_LABEL_INPUT_TOUCH_ENABLE, + MENU_ENUM_LABEL_VALUE_INPUT_TOUCH_ENABLE, input_backtouch_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4075,11 +4075,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.backtouch_toggle, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_PREFER_FRONT_TOUCH), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_PREFER_FRONT_TOUCH), + MENU_ENUM_LABEL_INPUT_PREFER_FRONT_TOUCH, + MENU_ENUM_LABEL_VALUE_INPUT_PREFER_FRONT_TOUCH, input_backtouch_toggle, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4094,11 +4094,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.keyboard_gamepad_enable, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_ICADE_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_ICADE_ENABLE), + MENU_ENUM_LABEL_INPUT_ICADE_ENABLE, + MENU_ENUM_LABEL_VALUE_INPUT_ICADE_ENABLE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4125,11 +4125,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.small_keyboard_enable, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_SMALL_KEYBOARD_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_SMALL_KEYBOARD_ENABLE), + MENU_ENUM_LABEL_INPUT_SMALL_KEYBOARD_ENABLE, + MENU_ENUM_LABEL_VALUE_INPUT_SMALL_KEYBOARD_ENABLE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4144,11 +4144,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.back_as_menu_toggle_enable, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_TOGGLE_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_TOGGLE_ENABLE), + MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_TOGGLE_ENABLE, + MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_TOGGLE_ENABLE, back_as_menu_toggle_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4176,11 +4176,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.all_users_control_menu, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_ALL_USERS_CONTROL_MENU), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_ALL_USERS_CONTROL_MENU), + MENU_ENUM_LABEL_INPUT_ALL_USERS_CONTROL_MENU, + MENU_ENUM_LABEL_VALUE_INPUT_ALL_USERS_CONTROL_MENU, all_users_control_menu, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4193,11 +4193,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.remap_binds_enable, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_REMAP_BINDS_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_REMAP_BINDS_ENABLE), + MENU_ENUM_LABEL_INPUT_REMAP_BINDS_ENABLE, + MENU_ENUM_LABEL_VALUE_INPUT_REMAP_BINDS_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4210,11 +4210,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.autodetect_enable, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_AUTODETECT_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_AUTODETECT_ENABLE), + MENU_ENUM_LABEL_INPUT_AUTODETECT_ENABLE, + MENU_ENUM_LABEL_VALUE_INPUT_AUTODETECT_ENABLE, input_autodetect_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4227,11 +4227,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.input_descriptor_label_show, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_DESCRIPTOR_LABEL_SHOW), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_DESCRIPTOR_LABEL_SHOW), + MENU_ENUM_LABEL_INPUT_DESCRIPTOR_LABEL_SHOW, + MENU_ENUM_LABEL_VALUE_INPUT_DESCRIPTOR_LABEL_SHOW, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4244,11 +4244,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.input_descriptor_hide_unbound, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_DESCRIPTOR_HIDE_UNBOUND), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_DESCRIPTOR_HIDE_UNBOUND), + MENU_ENUM_LABEL_INPUT_DESCRIPTOR_HIDE_UNBOUND, + MENU_ENUM_LABEL_VALUE_INPUT_DESCRIPTOR_HIDE_UNBOUND, input_descriptor_hide_unbound, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4381,11 +4381,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, recording_is_enabled(), - msg_hash_to_str(MENU_ENUM_LABEL_RECORD_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_RECORD_ENABLE), + MENU_ENUM_LABEL_RECORD_ENABLE, + MENU_ENUM_LABEL_VALUE_RECORD_ENABLE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4428,11 +4428,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, recording_driver_get_use_output_dir_ptr(), - msg_hash_to_str(MENU_ENUM_LABEL_RECORD_USE_OUTPUT_DIRECTORY), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_RECORD_USE_OUTPUT_DIRECTORY), + MENU_ENUM_LABEL_RECORD_USE_OUTPUT_DIRECTORY, + MENU_ENUM_LABEL_VALUE_RECORD_USE_OUTPUT_DIRECTORY, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4449,11 +4449,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.post_filter_record, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_POST_FILTER_RECORD), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_POST_FILTER_RECORD), + MENU_ENUM_LABEL_VIDEO_POST_FILTER_RECORD, + MENU_ENUM_LABEL_VALUE_VIDEO_POST_FILTER_RECORD, post_filter_record, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4466,11 +4466,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.gpu_record, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_GPU_RECORD), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_GPU_RECORD), + MENU_ENUM_LABEL_VIDEO_GPU_RECORD, + MENU_ENUM_LABEL_VALUE_VIDEO_GPU_RECORD, gpu_record, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4559,11 +4559,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.throttle_framerate, - msg_hash_to_str(MENU_ENUM_LABEL_MENU_THROTTLE_FRAMERATE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_MENU_ENUM_THROTTLE_FRAMERATE), + MENU_ENUM_LABEL_MENU_THROTTLE_FRAMERATE, + MENU_ENUM_LABEL_VALUE_MENU_ENUM_THROTTLE_FRAMERATE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4591,11 +4591,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.font_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_FONT_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_FONT_ENABLE), + MENU_ENUM_LABEL_VIDEO_FONT_ENABLE, + MENU_ENUM_LABEL_VALUE_VIDEO_FONT_ENABLE, font_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4680,11 +4680,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.overlay_enable, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_OVERLAY_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_ENABLE), + MENU_ENUM_LABEL_INPUT_OVERLAY_ENABLE, + MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_ENABLE, config_overlay_enable_default(), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4698,11 +4698,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.overlay_enable_autopreferred, - msg_hash_to_str(MENU_ENUM_LABEL_OVERLAY_AUTOLOAD_PREFERRED), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OVERLAY_AUTOLOAD_PREFERRED), + MENU_ENUM_LABEL_OVERLAY_AUTOLOAD_PREFERRED, + MENU_ENUM_LABEL_VALUE_OVERLAY_AUTOLOAD_PREFERRED, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4716,11 +4716,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->input.overlay_hide_in_menu, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_OVERLAY_HIDE_IN_MENU), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_HIDE_IN_MENU), + MENU_ENUM_LABEL_INPUT_OVERLAY_HIDE_IN_MENU, + MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_HIDE_IN_MENU, overlay_hide_in_menu, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4734,11 +4734,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->osk.enable, - msg_hash_to_str(MENU_ENUM_LABEL_INPUT_OSK_OVERLAY_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_OSK_OVERLAY_ENABLE), + MENU_ENUM_LABEL_INPUT_OSK_OVERLAY_ENABLE, + MENU_ENUM_LABEL_VALUE_INPUT_OSK_OVERLAY_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4870,11 +4870,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.dynamic_wallpaper_enable, - msg_hash_to_str(MENU_ENUM_LABEL_DYNAMIC_WALLPAPER), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DYNAMIC_WALLPAPER), + MENU_ENUM_LABEL_DYNAMIC_WALLPAPER, + MENU_ENUM_LABEL_VALUE_DYNAMIC_WALLPAPER, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4889,11 +4889,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.pause_libretro, - msg_hash_to_str(MENU_ENUM_LABEL_PAUSE_LIBRETRO), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_PAUSE_LIBRETRO), + MENU_ENUM_LABEL_PAUSE_LIBRETRO, + MENU_ENUM_LABEL_VALUE_PAUSE_LIBRETRO, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4907,11 +4907,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.mouse.enable, - msg_hash_to_str(MENU_ENUM_LABEL_MOUSE_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_MOUSE_ENABLE), + MENU_ENUM_LABEL_MOUSE_ENABLE, + MENU_ENUM_LABEL_VALUE_MOUSE_ENABLE, def_mouse_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4924,11 +4924,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.pointer.enable, - msg_hash_to_str(MENU_ENUM_LABEL_POINTER_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_POINTER_ENABLE), + MENU_ENUM_LABEL_POINTER_ENABLE, + MENU_ENUM_LABEL_VALUE_POINTER_ENABLE, pointer_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4941,11 +4941,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.linear_filter, - msg_hash_to_str(MENU_ENUM_LABEL_MENU_LINEAR_FILTER), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_MENU_LINEAR_FILTER), + MENU_ENUM_LABEL_MENU_LINEAR_FILTER, + MENU_ENUM_LABEL_VALUE_MENU_LINEAR_FILTER, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4969,11 +4969,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.navigation.wraparound.enable, - msg_hash_to_str(MENU_ENUM_LABEL_NAVIGATION_WRAPAROUND), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NAVIGATION_WRAPAROUND), + MENU_ENUM_LABEL_NAVIGATION_WRAPAROUND, + MENU_ENUM_LABEL_VALUE_NAVIGATION_WRAPAROUND, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -4989,11 +4989,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.show_advanced_settings, - msg_hash_to_str(MENU_ENUM_LABEL_SHOW_ADVANCED_SETTINGS), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SHOW_ADVANCED_SETTINGS), + MENU_ENUM_LABEL_SHOW_ADVANCED_SETTINGS, + MENU_ENUM_LABEL_VALUE_SHOW_ADVANCED_SETTINGS, show_advanced_settings, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5006,11 +5006,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->threaded_data_runloop_enable, - msg_hash_to_str(MENU_ENUM_LABEL_THREADED_DATA_RUNLOOP_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_THREADED_DATA_RUNLOOP_ENABLE), + MENU_ENUM_LABEL_THREADED_DATA_RUNLOOP_ENABLE, + MENU_ENUM_LABEL_VALUE_THREADED_DATA_RUNLOOP_ENABLE, threaded_data_runloop_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5079,11 +5079,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.dpi.override_enable, - msg_hash_to_str(MENU_ENUM_LABEL_DPI_OVERRIDE_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DPI_OVERRIDE_ENABLE), + MENU_ENUM_LABEL_DPI_OVERRIDE_ENABLE, + MENU_ENUM_LABEL_VALUE_DPI_OVERRIDE_ENABLE, menu_dpi_override_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5170,11 +5170,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.xmb.shadows_enable, - msg_hash_to_str(MENU_ENUM_LABEL_XMB_SHADOWS_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_XMB_SHADOWS_ENABLE), + MENU_ENUM_LABEL_XMB_SHADOWS_ENABLE, + MENU_ENUM_LABEL_VALUE_XMB_SHADOWS_ENABLE, xmb_shadows_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5216,11 +5216,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.xmb.show_settings, - msg_hash_to_str(MENU_ENUM_LABEL_XMB_SHOW_SETTINGS), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_XMB_SHOW_SETTINGS), + MENU_ENUM_LABEL_XMB_SHOW_SETTINGS, + MENU_ENUM_LABEL_VALUE_XMB_SHOW_SETTINGS, xmb_show_settings, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5233,11 +5233,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.xmb.show_images, - msg_hash_to_str(MENU_ENUM_LABEL_XMB_SHOW_IMAGES), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_XMB_SHOW_IMAGES), + MENU_ENUM_LABEL_XMB_SHOW_IMAGES, + MENU_ENUM_LABEL_VALUE_XMB_SHOW_IMAGES, xmb_show_images, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5251,11 +5251,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.xmb.show_music, - msg_hash_to_str(MENU_ENUM_LABEL_XMB_SHOW_MUSIC), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_XMB_SHOW_MUSIC), + MENU_ENUM_LABEL_XMB_SHOW_MUSIC, + MENU_ENUM_LABEL_VALUE_XMB_SHOW_MUSIC, xmb_show_music, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5267,11 +5267,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.xmb.show_video, - msg_hash_to_str(MENU_ENUM_LABEL_XMB_SHOW_VIDEO), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_XMB_SHOW_VIDEO), + MENU_ENUM_LABEL_XMB_SHOW_VIDEO, + MENU_ENUM_LABEL_VALUE_XMB_SHOW_VIDEO, xmb_show_video, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5284,11 +5284,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.xmb.show_history, - msg_hash_to_str(MENU_ENUM_LABEL_XMB_SHOW_HISTORY), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_XMB_SHOW_HISTORY), + MENU_ENUM_LABEL_XMB_SHOW_HISTORY, + MENU_ENUM_LABEL_VALUE_XMB_SHOW_HISTORY, xmb_show_history, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5353,11 +5353,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu_show_start_screen, - msg_hash_to_str(MENU_ENUM_LABEL_RGUI_SHOW_START_SCREEN), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_RGUI_SHOW_START_SCREEN), + MENU_ENUM_LABEL_RGUI_SHOW_START_SCREEN, + MENU_ENUM_LABEL_VALUE_RGUI_SHOW_START_SCREEN, default_menu_show_start_screen, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5386,11 +5386,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.timedate_enable, - msg_hash_to_str(MENU_ENUM_LABEL_TIMEDATE_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_TIMEDATE_ENABLE), + MENU_ENUM_LABEL_TIMEDATE_ENABLE, + MENU_ENUM_LABEL_VALUE_TIMEDATE_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5402,11 +5402,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.core_enable, - msg_hash_to_str(MENU_ENUM_LABEL_CORE_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_ENABLE), + MENU_ENUM_LABEL_CORE_ENABLE, + MENU_ENUM_LABEL_VALUE_CORE_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5430,11 +5430,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->menu.navigation.browser.filter.supported_extensions_enable, - msg_hash_to_str(MENU_ENUM_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE), + MENU_ENUM_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE, + MENU_ENUM_LABEL_VALUE_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5460,11 +5460,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->multimedia.builtin_mediaplayer_enable, - msg_hash_to_str(MENU_ENUM_LABEL_USE_BUILTIN_PLAYER), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_USE_BUILTIN_PLAYER), + MENU_ENUM_LABEL_USE_BUILTIN_PLAYER, + MENU_ENUM_LABEL_VALUE_USE_BUILTIN_PLAYER, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5479,11 +5479,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->multimedia.builtin_imageviewer_enable, - msg_hash_to_str(MENU_ENUM_LABEL_USE_BUILTIN_IMAGE_VIEWER), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_USE_BUILTIN_IMAGE_VIEWER), + MENU_ENUM_LABEL_USE_BUILTIN_IMAGE_VIEWER, + MENU_ENUM_LABEL_VALUE_USE_BUILTIN_IMAGE_VIEWER, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5509,11 +5509,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->pause_nonactive, - msg_hash_to_str(MENU_ENUM_LABEL_PAUSE_NONACTIVE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_PAUSE_NONACTIVE), + MENU_ENUM_LABEL_PAUSE_NONACTIVE, + MENU_ENUM_LABEL_VALUE_PAUSE_NONACTIVE, pause_nonactive, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5526,11 +5526,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->video.disable_composition, - msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_DISABLE_COMPOSITION), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_DISABLE_COMPOSITION), + MENU_ENUM_LABEL_VIDEO_DISABLE_COMPOSITION, + MENU_ENUM_LABEL_VALUE_VIDEO_DISABLE_COMPOSITION, disable_composition, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5546,11 +5546,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->ui.companion_enable, - msg_hash_to_str(MENU_ENUM_LABEL_UI_COMPANION_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UI_COMPANION_ENABLE), + MENU_ENUM_LABEL_UI_COMPANION_ENABLE, + MENU_ENUM_LABEL_VALUE_UI_COMPANION_ENABLE, ui_companion_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5562,11 +5562,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->ui.companion_start_on_boot, - msg_hash_to_str(MENU_ENUM_LABEL_UI_COMPANION_START_ON_BOOT), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UI_COMPANION_START_ON_BOOT), + MENU_ENUM_LABEL_UI_COMPANION_START_ON_BOOT, + MENU_ENUM_LABEL_VALUE_UI_COMPANION_START_ON_BOOT, ui_companion_start_on_boot, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5578,11 +5578,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->ui.menubar_enable, - msg_hash_to_str(MENU_ENUM_LABEL_UI_MENUBAR_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UI_MENUBAR_ENABLE), + MENU_ENUM_LABEL_UI_MENUBAR_ENABLE, + MENU_ENUM_LABEL_VALUE_UI_MENUBAR_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5611,11 +5611,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->history_list_enable, - msg_hash_to_str(MENU_ENUM_LABEL_HISTORY_LIST_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_HISTORY_LIST_ENABLE), + MENU_ENUM_LABEL_HISTORY_LIST_ENABLE, + MENU_ENUM_LABEL_VALUE_HISTORY_LIST_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5654,11 +5654,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->cheevos.enable, - msg_hash_to_str(MENU_ENUM_LABEL_CHEEVOS_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ENABLE), + MENU_ENUM_LABEL_CHEEVOS_ENABLE, + MENU_ENUM_LABEL_VALUE_ENABLE, cheevos_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5671,11 +5671,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->cheevos.test_unofficial, - msg_hash_to_str(MENU_ENUM_LABEL_CHEEVOS_TEST_UNOFFICIAL), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CHEEVOS_TEST_UNOFFICIAL), + MENU_ENUM_LABEL_CHEEVOS_TEST_UNOFFICIAL, + MENU_ENUM_LABEL_VALUE_CHEEVOS_TEST_UNOFFICIAL, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5688,11 +5688,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->cheevos.hardcore_mode_enable, - msg_hash_to_str(MENU_ENUM_LABEL_CHEEVOS_HARDCORE_MODE_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CHEEVOS_HARDCORE_MODE_ENABLE), + MENU_ENUM_LABEL_CHEEVOS_HARDCORE_MODE_ENABLE, + MENU_ENUM_LABEL_VALUE_CHEEVOS_HARDCORE_MODE_ENABLE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5748,11 +5748,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->network.buildbot_auto_extract_archive, - msg_hash_to_str(MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE), + MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE, + MENU_ENUM_LABEL_VALUE_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5842,11 +5842,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->netplay.is_spectate, - msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY_SPECTATOR_MODE_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NETPLAY_SPECTATOR_MODE_ENABLE), + MENU_ENUM_LABEL_NETPLAY_SPECTATOR_MODE_ENABLE, + MENU_ENUM_LABEL_VALUE_NETPLAY_SPECTATOR_MODE_ENABLE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5858,11 +5858,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->netplay.swap_input, - msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY_CLIENT_SWAP_INPUT), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NETPLAY_CLIENT_SWAP_INPUT), + MENU_ENUM_LABEL_NETPLAY_CLIENT_SWAP_INPUT, + MENU_ENUM_LABEL_VALUE_NETPLAY_CLIENT_SWAP_INPUT, netplay_client_swap_input, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5886,11 +5886,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->network_cmd_enable, - msg_hash_to_str(MENU_ENUM_LABEL_NETWORK_CMD_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NETWORK_CMD_ENABLE), + MENU_ENUM_LABEL_NETWORK_CMD_ENABLE, + MENU_ENUM_LABEL_VALUE_NETWORK_CMD_ENABLE, network_cmd_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5917,11 +5917,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->network_remote_enable, - msg_hash_to_str(MENU_ENUM_LABEL_NETWORK_REMOTE_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NETWORK_REMOTE_ENABLE), + MENU_ENUM_LABEL_NETWORK_REMOTE_ENABLE, + MENU_ENUM_LABEL_VALUE_NETWORK_REMOTE_ENABLE, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5953,15 +5953,15 @@ static bool setting_append_list( snprintf(s2, sizeof(s2), "User %d Remote Enable", user + 1); - CONFIG_BOOL( + CONFIG_BOOL_ALT( list, list_info, &settings->network_remote_enable_user[user], /* todo: figure out this value, it's working fine but I don't think this is correct */ strdup(s1), strdup(s2), false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -5975,11 +5975,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->stdin_cmd_enable, - msg_hash_to_str(MENU_ENUM_LABEL_STDIN_CMD_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_STDIN_CMD_ENABLE), + MENU_ENUM_LABEL_STDIN_CMD_ENABLE, + MENU_ENUM_LABEL_VALUE_STDIN_CMD_ENABLE, stdin_cmd_enable, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -6009,11 +6009,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->ssh_enable, - msg_hash_to_str(MENU_ENUM_LABEL_SSH_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SSH_ENABLE), + MENU_ENUM_LABEL_SSH_ENABLE, + MENU_ENUM_LABEL_VALUE_SSH_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -6026,11 +6026,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->samba_enable, - msg_hash_to_str(MENU_ENUM_LABEL_SAMBA_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SAMBA_ENABLE), + MENU_ENUM_LABEL_SAMBA_ENABLE, + MENU_ENUM_LABEL_VALUE_SAMBA_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -6043,11 +6043,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->bluetooth_enable, - msg_hash_to_str(MENU_ENUM_LABEL_BLUETOOTH_ENABLE), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_BLUETOOTH_ENABLE), + MENU_ENUM_LABEL_BLUETOOTH_ENABLE, + MENU_ENUM_LABEL_VALUE_BLUETOOTH_ENABLE, true, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -6620,11 +6620,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->camera.allow, - msg_hash_to_str(MENU_ENUM_LABEL_CAMERA_ALLOW), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CAMERA_ALLOW), + MENU_ENUM_LABEL_CAMERA_ALLOW, + MENU_ENUM_LABEL_VALUE_CAMERA_ALLOW, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, @@ -6639,11 +6639,11 @@ static bool setting_append_list( CONFIG_BOOL( list, list_info, &settings->location.allow, - msg_hash_to_str(MENU_ENUM_LABEL_LOCATION_ALLOW), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW), + MENU_ENUM_LABEL_LOCATION_ALLOW, + MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW, false, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), + MENU_ENUM_LABEL_VALUE_OFF, + MENU_ENUM_LABEL_VALUE_ON, &group_info, &subgroup_info, parent_group, diff --git a/setting_list.c b/setting_list.c index 1c0c076d9f..64352ee4b9 100644 --- a/setting_list.c +++ b/setting_list.c @@ -1430,13 +1430,14 @@ static rarch_setting_t setting_int_setting(const char* name, return result; } -bool CONFIG_BOOL( +bool CONFIG_BOOL_ALT( rarch_setting_t **list, rarch_setting_info_t *list_info, bool *target, const char *name, const char *SHORT, bool default_value, - const char *off, const char *on, + enum msg_hash_enums off_enum_idx, + enum msg_hash_enums on_enum_idx, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, @@ -1445,7 +1446,44 @@ bool CONFIG_BOOL( uint32_t flags) { rarch_setting_t value = setting_bool_setting (name, SHORT, target, - default_value, off, on, + default_value, + msg_hash_to_str(off_enum_idx), msg_hash_to_str(on_enum_idx), + group_info->name, subgroup_info->name, parent_group, + change_handler, read_handler); + + if (!settings_list_append(list, list_info)) + return false; + if (value.name) + value.name_hash = msg_hash_calculate(value.name); + (*list)[list_info->index++] = value; + if (flags != SD_FLAG_NONE) + settings_data_list_current_add_flags(list, list_info, flags); + return true; +} + +bool CONFIG_BOOL( + rarch_setting_t **list, + rarch_setting_info_t *list_info, + bool *target, + enum msg_hash_enums name_enum_idx, + enum msg_hash_enums SHORT_enum_idx, + bool default_value, + enum msg_hash_enums off_enum_idx, + enum msg_hash_enums on_enum_idx, + rarch_setting_group_info_t *group_info, + rarch_setting_group_info_t *subgroup_info, + const char *parent_group, + change_handler_t change_handler, + change_handler_t read_handler, + uint32_t flags) +{ + rarch_setting_t value = setting_bool_setting ( + msg_hash_to_str(name_enum_idx), + msg_hash_to_str(SHORT_enum_idx), + target, + default_value, + msg_hash_to_str(off_enum_idx), + msg_hash_to_str(on_enum_idx), group_info->name, subgroup_info->name, parent_group, change_handler, read_handler); diff --git a/setting_list.h b/setting_list.h index a47a93a738..eded01cac1 100644 --- a/setting_list.h +++ b/setting_list.h @@ -211,20 +211,36 @@ bool CONFIG_ACTION( rarch_setting_group_info_t *subgroup_info, const char *parent_group); -bool CONFIG_BOOL( +bool CONFIG_BOOL_ALT( rarch_setting_t **list, rarch_setting_info_t *list_info, bool *target, const char *name, const char *SHORT, bool default_value, - const char *off, const char *on, + enum msg_hash_enums off_enum_idx, + enum msg_hash_enums on_enum_idx, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler, - uint32_t flags - ); + uint32_t flags); + +bool CONFIG_BOOL( + rarch_setting_t **list, + rarch_setting_info_t *list_info, + bool *target, + enum msg_hash_enums name_enum_idx, + enum msg_hash_enums SHORT_enum_idx, + bool default_value, + enum msg_hash_enums off_enum_idx, + enum msg_hash_enums on_enum_idx, + rarch_setting_group_info_t *group_info, + rarch_setting_group_info_t *subgroup_info, + const char *parent_group, + change_handler_t change_handler, + change_handler_t read_handler, + uint32_t flags); bool CONFIG_INT( rarch_setting_t **list,