mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
menu_display_update_pending - cleanup
This commit is contained in:
parent
489dc651b5
commit
560d28b188
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user