mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-26 20:55:39 +00:00
Fix shader parameters' values being shown again
This commit is contained in:
parent
063d5a97a1
commit
ca43ef1eac
@ -985,10 +985,6 @@ static int menu_cbs_init_bind_get_string_representation_compare_type(
|
||||
&& type <= MENU_SETTINGS_SHADER_PRESET_PARAMETER_LAST)
|
||||
cbs->action_get_value =
|
||||
menu_action_setting_disp_set_label_shader_preset_parameter;
|
||||
else if (type >= MENU_SETTINGS_SHADER_PARAMETER_0
|
||||
&& type <= MENU_SETTINGS_SHADER_PARAMETER_LAST)
|
||||
cbs->action_get_value =
|
||||
menu_action_setting_disp_set_label_shader_parameter;
|
||||
else
|
||||
{
|
||||
switch (type)
|
||||
@ -1098,6 +1094,14 @@ int menu_cbs_init_bind_get_string_representation(menu_file_list_cbs_t *cbs,
|
||||
if (!cbs)
|
||||
return -1;
|
||||
|
||||
if (type >= MENU_SETTINGS_SHADER_PARAMETER_0
|
||||
&& type <= MENU_SETTINGS_SHADER_PARAMETER_LAST)
|
||||
{
|
||||
cbs->action_get_value =
|
||||
menu_action_setting_disp_set_label_shader_parameter;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (menu_cbs_init_bind_get_string_representation_compare_label(cbs, label_hash) == 0)
|
||||
return 0;
|
||||
|
||||
|
@ -180,7 +180,7 @@ static int action_iterate_help(char *s, size_t len, const char *label)
|
||||
}
|
||||
|
||||
snprintf(s, len,
|
||||
"-- Welcome to RetroArch --\n"
|
||||
"Welcome to RetroArch\n"
|
||||
" \n" // strtok_r doesn't split empty strings.
|
||||
|
||||
"Basic Menu controls:\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user