diff --git a/menu/menu_display.c b/menu/menu_display.c index 5c1d96f906..60d687b8fb 100644 --- a/menu/menu_display.c +++ b/menu/menu_display.c @@ -24,12 +24,13 @@ bool menu_display_update_pending(void) { runloop_t *runloop = rarch_main_get_ptr(); - if (!runloop) - return false; - if (runloop->frames.video.current.menu.animation.is_active || - runloop->frames.video.current.menu.label.is_updated || - runloop->frames.video.current.menu.framebuf.dirty) - return true; + if (runloop) + { + if (runloop->frames.video.current.menu.animation.is_active || + runloop->frames.video.current.menu.label.is_updated || + runloop->frames.video.current.menu.framebuf.dirty) + return true; + } return false; }