(RGUI) Use menu_display_update_pending

This commit is contained in:
twinaphex 2015-05-04 09:16:43 +02:00
parent 62a0a99a84
commit dbd0da41a2
1 changed files with 1 additions and 6 deletions

View File

@ -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);