mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 08:37:41 +00:00
Take out menu_do_refresh out of menu_entry_select
This commit is contained in:
parent
02b29e08ad
commit
87e46cefb8
@ -419,9 +419,6 @@ int menu_entry_select(uint32_t i)
|
|||||||
if (action != MENU_ACTION_NOOP)
|
if (action != MENU_ACTION_NOOP)
|
||||||
ret = menu_entry_action(&entry, i, action);
|
ret = menu_entry_action(&entry, i, action);
|
||||||
|
|
||||||
if (menu_needs_refresh())
|
|
||||||
menu_do_refresh(action);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -273,7 +273,8 @@ void rarch_main_data_iterate(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
menu_do_refresh(MENU_ACTION_REFRESH);
|
if (menu_needs_refresh())
|
||||||
|
menu_do_refresh(MENU_ACTION_REFRESH);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user