mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-27 03:56:06 +00:00
Move shader preset parameters up front
This commit is contained in:
parent
cc300120be
commit
7e1a9ebee6
@ -981,10 +981,6 @@ static int menu_cbs_init_bind_get_string_representation_compare_type(
|
|||||||
&& type <= MENU_SETTINGS_LIBRETRO_PERF_COUNTERS_END)
|
&& type <= MENU_SETTINGS_LIBRETRO_PERF_COUNTERS_END)
|
||||||
cbs->action_get_value =
|
cbs->action_get_value =
|
||||||
menu_action_setting_disp_set_label_libretro_perf_counters;
|
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
|
else
|
||||||
{
|
{
|
||||||
switch (type)
|
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;
|
menu_action_setting_disp_set_label_shader_parameter;
|
||||||
return 0;
|
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)
|
if (menu_cbs_init_bind_get_string_representation_compare_label(cbs, label_hash) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user