mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Cleanup
This commit is contained in:
parent
f7f6f3c5d5
commit
4d3f8c3c80
@ -1858,8 +1858,7 @@ static int generic_menu_iterate(
|
|||||||
menu->menu_state_msg[0] = '\0';
|
menu->menu_state_msg[0] = '\0';
|
||||||
|
|
||||||
iterate_type = action_iterate_type(label);
|
iterate_type = action_iterate_type(label);
|
||||||
|
p_rarch->menu_driver_is_binding = false;
|
||||||
p_rarch->menu_driver_is_binding = iterate_type == ITERATE_TYPE_BIND;
|
|
||||||
|
|
||||||
if ( action != MENU_ACTION_NOOP
|
if ( action != MENU_ACTION_NOOP
|
||||||
|| MENU_ENTRIES_NEEDS_REFRESH(menu_st)
|
|| MENU_ENTRIES_NEEDS_REFRESH(menu_st)
|
||||||
@ -1867,6 +1866,7 @@ static int generic_menu_iterate(
|
|||||||
{
|
{
|
||||||
BIT64_SET(menu->state, MENU_STATE_RENDER_FRAMEBUFFER);
|
BIT64_SET(menu->state, MENU_STATE_RENDER_FRAMEBUFFER);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (iterate_type)
|
switch (iterate_type)
|
||||||
{
|
{
|
||||||
case ITERATE_TYPE_HELP:
|
case ITERATE_TYPE_HELP:
|
||||||
@ -1901,6 +1901,8 @@ static int generic_menu_iterate(
|
|||||||
{
|
{
|
||||||
menu_input_ctx_bind_t bind;
|
menu_input_ctx_bind_t bind;
|
||||||
|
|
||||||
|
p_rarch->menu_driver_is_binding = true;
|
||||||
|
|
||||||
bind.s = menu->menu_state_msg;
|
bind.s = menu->menu_state_msg;
|
||||||
bind.len = sizeof(menu->menu_state_msg);
|
bind.len = sizeof(menu->menu_state_msg);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user