mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 00:32:46 +00:00
(menu_setting.c) Get rid of some unused and commented out code
This commit is contained in:
parent
725ca99a6e
commit
68836bad99
@ -1386,13 +1386,7 @@ static int setting_string_action_left_driver(void *data,
|
||||
if (!setting)
|
||||
return -1;
|
||||
|
||||
if (!find_prev_driver(setting->name, setting->value.string, setting->size))
|
||||
{
|
||||
#if 0
|
||||
if (wraparound)
|
||||
find_last_driver(setting->name, setting->value.string, setting->size);
|
||||
#endif
|
||||
}
|
||||
find_prev_driver(setting->name, setting->value.string, setting->size);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -3521,6 +3515,7 @@ static bool setting_append_list_rewind_options(
|
||||
general_read_handler);
|
||||
menu_settings_list_current_add_cmd(list, list_info, EVENT_CMD_REWIND_TOGGLE);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_CMD_APPLY_AUTO);
|
||||
|
||||
#if 0
|
||||
CONFIG_SIZE(
|
||||
settings->rewind_buffer_size,
|
||||
@ -5786,64 +5781,6 @@ static bool setting_append_list_netplay_options(
|
||||
return true;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static bool setting_append_list_patch_options(
|
||||
rarch_setting_t **list,
|
||||
rarch_setting_info_t *list_info,
|
||||
const char *parent_group)
|
||||
{
|
||||
rarch_setting_group_info_t group_info = {0};
|
||||
rarch_setting_group_info_t subgroup_info = {0};
|
||||
|
||||
START_GROUP(group_info, "Patch Settings", parent_group);
|
||||
|
||||
parent_group = menu_hash_to_str(MENU_LABEL_VALUE_SETTINGS);
|
||||
|
||||
START_SUB_GROUP(list, list_info, "State", group_info.name, subgroup_info);
|
||||
|
||||
CONFIG_BOOL(
|
||||
global->ups_pref,
|
||||
"ups_pref",
|
||||
"UPS Patching Enable",
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
group_info.name,
|
||||
subgroup_info.name,
|
||||
general_write_handler,
|
||||
general_read_handler);
|
||||
|
||||
CONFIG_BOOL(
|
||||
global->bps_pref,
|
||||
"bps_pref",
|
||||
"BPS Patching Enable",
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
group_info.name,
|
||||
subgroup_info.name,
|
||||
general_write_handler,
|
||||
general_read_handler);
|
||||
|
||||
CONFIG_BOOL(
|
||||
global->ips_pref,
|
||||
"ips_pref",
|
||||
"IPS Patching Enable",
|
||||
true,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
group_info.name,
|
||||
subgroup_info.name,
|
||||
general_write_handler,
|
||||
general_read_handler);
|
||||
|
||||
END_SUB_GROUP(list, list_info, parent_group);
|
||||
END_GROUP(list, list_info, parent_group);
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool setting_append_list_playlist_options(
|
||||
rarch_setting_t **list,
|
||||
rarch_setting_info_t *list_info,
|
||||
@ -6668,10 +6605,6 @@ rarch_setting_t *menu_setting_new(unsigned mask)
|
||||
if (!setting_append_list_video_options(&list, list_info, root))
|
||||
goto error;
|
||||
|
||||
#if 0
|
||||
if (!setting_append_list_video_shader_options(&list, list_info, root))
|
||||
goto error;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (mask & SL_FLAG_AUDIO_OPTIONS)
|
||||
@ -6755,14 +6688,6 @@ rarch_setting_t *menu_setting_new(unsigned mask)
|
||||
goto error;
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (mask & SL_FLAG_PATCH_OPTIONS)
|
||||
{
|
||||
if (!setting_append_list_patch_options(&list, list_info, root))
|
||||
goto error;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (mask & SL_FLAG_PLAYLIST_OPTIONS)
|
||||
{
|
||||
if (!setting_append_list_playlist_options(&list, list_info, root))
|
||||
|
Loading…
x
Reference in New Issue
Block a user