mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Bind action OK callback for shader parameters to NULL
This commit is contained in:
parent
0e26f0ea2d
commit
9b71273e72
@ -2100,7 +2100,13 @@ static int menu_entries_cbs_init_bind_ok_first(menu_file_list_cbs_t *cbs,
|
|||||||
menu_list_get_last_stack(driver.menu->menu_list,
|
menu_list_get_last_stack(driver.menu->menu_list,
|
||||||
NULL, &menu_label, NULL);
|
NULL, &menu_label, NULL);
|
||||||
|
|
||||||
if (!strcmp(label, "savestate"))
|
if (type >= MENU_SETTINGS_SHADER_PARAMETER_0
|
||||||
|
&& type <= MENU_SETTINGS_SHADER_PARAMETER_LAST)
|
||||||
|
cbs->action_ok = NULL;
|
||||||
|
else if (type >= MENU_SETTINGS_SHADER_PRESET_PARAMETER_0
|
||||||
|
&& type <= MENU_SETTINGS_SHADER_PRESET_PARAMETER_LAST)
|
||||||
|
cbs->action_ok = NULL;
|
||||||
|
else if (!strcmp(label, "savestate"))
|
||||||
cbs->action_ok = action_ok_save_state;
|
cbs->action_ok = action_ok_save_state;
|
||||||
else if (!strcmp(label, "loadstate"))
|
else if (!strcmp(label, "loadstate"))
|
||||||
cbs->action_ok = action_ok_load_state;
|
cbs->action_ok = action_ok_load_state;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user