Move shader preset parameters up front

This commit is contained in:
twinaphex 2015-06-27 19:24:46 +02:00
parent cc300120be
commit 7e1a9ebee6

View File

@ -981,10 +981,6 @@ static int menu_cbs_init_bind_get_string_representation_compare_type(
&& type <= MENU_SETTINGS_LIBRETRO_PERF_COUNTERS_END)
cbs->action_get_value =
menu_action_setting_disp_set_label_libretro_perf_counters;
else if (type >= MENU_SETTINGS_SHADER_PRESET_PARAMETER_0
&& type <= MENU_SETTINGS_SHADER_PRESET_PARAMETER_LAST)
cbs->action_get_value =
menu_action_setting_disp_set_label_shader_preset_parameter;
else
{
switch (type)
@ -1101,6 +1097,13 @@ int menu_cbs_init_bind_get_string_representation(menu_file_list_cbs_t *cbs,
menu_action_setting_disp_set_label_shader_parameter;
return 0;
}
else if (type >= MENU_SETTINGS_SHADER_PRESET_PARAMETER_0
&& type <= MENU_SETTINGS_SHADER_PRESET_PARAMETER_LAST)
{
cbs->action_get_value =
menu_action_setting_disp_set_label_shader_preset_parameter;
return 0;
}
if (menu_cbs_init_bind_get_string_representation_compare_label(cbs, label_hash) == 0)
return 0;