(RGUI) Use menu_display_update_pending
This commit is contained in:
parent
62a0a99a84
commit
dbd0da41a2
|
@ -67,13 +67,8 @@ static int rgui_entry_iterate(unsigned action)
|
|||
if (!menu->menu_list)
|
||||
return -1;
|
||||
|
||||
if (action != MENU_ACTION_NOOP || menu->need_refresh ||
|
||||
runloop->frames.video.current.menu.label.is_updated ||
|
||||
runloop->frames.video.current.menu.animation.is_active)
|
||||
{
|
||||
if (action != MENU_ACTION_NOOP || menu->need_refresh || menu_display_update_pending())
|
||||
runloop->frames.video.current.menu.framebuf.dirty = true;
|
||||
}
|
||||
|
||||
|
||||
cbs = (menu_file_list_cbs_t*)menu_list_get_actiondata_at_offset(
|
||||
menu->menu_list->selection_buf, menu->navigation.selection_ptr);
|
||||
|
|
Loading…
Reference in New Issue