mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-10 21:10:15 +00:00
(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:
parent
23fde82836
commit
eca5431c7e
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user