mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
Correctly check for RGUI_ACTION_OK.
This commit is contained in:
parent
64652f5ee9
commit
72671279c7
@ -996,6 +996,8 @@ int menu_set_settings(void *data, unsigned setting, unsigned action)
|
||||
rgui->bind_mode_keyboard = !rgui->bind_mode_keyboard;
|
||||
break;
|
||||
case RGUI_SETTINGS_CUSTOM_BIND_ALL:
|
||||
if (action == RGUI_ACTION_OK)
|
||||
{
|
||||
if (rgui->bind_mode_keyboard)
|
||||
{
|
||||
rgui->binds.target = &g_settings.input.binds[port][0];
|
||||
@ -1014,6 +1016,7 @@ int menu_set_settings(void *data, unsigned setting, unsigned action)
|
||||
menu_poll_bind_get_rested_axes(&rgui->binds);
|
||||
menu_poll_bind_state(&rgui->binds);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case RGUI_SETTINGS_CUSTOM_BIND_DEFAULT_ALL:
|
||||
if (action == RGUI_ACTION_OK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user