mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 18:58:21 +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)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user