mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
(menu_iterate.c) Cleanup
This commit is contained in:
parent
cc46ad496f
commit
377004dbf7
@ -433,11 +433,8 @@ int menu_iterate(bool render_this_frame, unsigned action)
|
||||
return 0;
|
||||
|
||||
menu->state = 0;
|
||||
|
||||
menu->menu_state.msg[0] = '\0';
|
||||
|
||||
hash = menu_hash_calculate(label);
|
||||
|
||||
iterate_type = action_iterate_type(hash);
|
||||
|
||||
if (action != MENU_ACTION_NOOP || menu_entries_needs_refresh() || menu_display_ctl(MENU_DISPLAY_CTL_UPDATE_PENDING, NULL))
|
||||
@ -546,6 +543,7 @@ int menu_iterate_render(void)
|
||||
{
|
||||
if (driver->render_messagebox)
|
||||
driver->render_messagebox(menu->menu_state.msg);
|
||||
|
||||
if (ui_companion_is_on_foreground())
|
||||
{
|
||||
const ui_companion_driver_t *ui = ui_companion_get_ptr();
|
||||
|
Loading…
x
Reference in New Issue
Block a user