menu_display_update_pending - cleanup

This commit is contained in:
twinaphex 2015-04-27 19:13:09 +02:00
parent 489dc651b5
commit 560d28b188

View File

@ -24,12 +24,13 @@
bool menu_display_update_pending(void) bool menu_display_update_pending(void)
{ {
runloop_t *runloop = rarch_main_get_ptr(); runloop_t *runloop = rarch_main_get_ptr();
if (!runloop) if (runloop)
return false; {
if (runloop->frames.video.current.menu.animation.is_active || if (runloop->frames.video.current.menu.animation.is_active ||
runloop->frames.video.current.menu.label.is_updated || runloop->frames.video.current.menu.label.is_updated ||
runloop->frames.video.current.menu.framebuf.dirty) runloop->frames.video.current.menu.framebuf.dirty)
return true; return true;
}
return false; return false;
} }