(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
1 changed files with 3 additions and 3 deletions

View File

@ -26,8 +26,7 @@
bool menu_display_update_pending(void) bool menu_display_update_pending(void)
{ {
if (g_runloop.frames.video.current.menu.action.active || if (g_runloop.frames.video.current.menu.animation.is_active ||
g_runloop.frames.video.current.menu.animation.is_active ||
g_runloop.frames.video.current.menu.label.is_updated || g_runloop.frames.video.current.menu.label.is_updated ||
g_runloop.frames.video.current.menu.framebuf.dirty) g_runloop.frames.video.current.menu.framebuf.dirty)
return true; 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(); rarch_render_cached_frame();
} }