From eca5431c7e2d155933374fc5dcadb0e6d26e83f7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 11 Mar 2015 16:52:21 +0100 Subject: [PATCH] (Menu) Take menu.action.active check outside of 'display update pending' function - menu.action.active should be properly implemented regardless --- menu/menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/menu/menu.c b/menu/menu.c index 906379108a..62e6262136 100644 --- a/menu/menu.c +++ b/menu/menu.c @@ -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(); }