(Menu) Take menu.action.active check outside of 'display update pending' function

- menu.action.active should be properly implemented regardless
This commit is contained in:
twinaphex 2015-03-11 16:52:21 +01:00
parent 23fde82836
commit eca5431c7e

View File

@ -26,8 +26,7 @@
bool menu_display_update_pending(void)
{
if (g_runloop.frames.video.current.menu.action.active ||
g_runloop.frames.video.current.menu.animation.is_active ||
if (g_runloop.frames.video.current.menu.animation.is_active ||
g_runloop.frames.video.current.menu.label.is_updated ||
g_runloop.frames.video.current.menu.framebuf.dirty)
return true;
@ -58,7 +57,8 @@ static void draw_frame(void)
}
}
if (menu_display_update_pending())
if (menu_display_update_pending() ||
g_runloop.frames.video.current.menu.action.active )
rarch_render_cached_frame();
}