mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
allow back/cancel button to dismiss help text
This commit is contained in:
parent
7bec0d1a49
commit
5c0002934a
@ -323,8 +323,9 @@ int generic_menu_iterate(void *data, void *userdata, enum menu_action action)
|
|||||||
if (menu_driver_ctl(RARCH_MENU_CTL_IS_PENDING_QUIT_CONFIRM, NULL))
|
if (menu_driver_ctl(RARCH_MENU_CTL_IS_PENDING_QUIT_CONFIRM, NULL))
|
||||||
{
|
{
|
||||||
menu_driver_ctl(RARCH_MENU_CTL_UNSET_PENDING_QUIT_CONFIRM, NULL);
|
menu_driver_ctl(RARCH_MENU_CTL_UNSET_PENDING_QUIT_CONFIRM, NULL);
|
||||||
BIT64_SET(menu->state, MENU_STATE_POP_STACK);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BIT64_SET(menu->state, MENU_STATE_POP_STACK);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
@ -433,7 +434,7 @@ int generic_menu_iterate(void *data, void *userdata, enum menu_action action)
|
|||||||
}
|
}
|
||||||
BIT64_SET(menu->state, MENU_STATE_RENDER_MESSAGEBOX);
|
BIT64_SET(menu->state, MENU_STATE_RENDER_MESSAGEBOX);
|
||||||
BIT64_SET(menu->state, MENU_STATE_POST_ITERATE);
|
BIT64_SET(menu->state, MENU_STATE_POST_ITERATE);
|
||||||
if (action == MENU_ACTION_OK)
|
if (action == MENU_ACTION_OK || action == MENU_ACTION_CANCEL)
|
||||||
BIT64_SET(menu->state, MENU_STATE_POP_STACK);
|
BIT64_SET(menu->state, MENU_STATE_POP_STACK);
|
||||||
break;
|
break;
|
||||||
case ITERATE_TYPE_DEFAULT:
|
case ITERATE_TYPE_DEFAULT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user