mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(iOS/OSX) Only call CFRunLoopWakeUp if menu framebuffer is dirty or the menu
currently has an animation effect running
This commit is contained in:
parent
1a62614c78
commit
0146bf15db
@ -74,6 +74,9 @@ static void do_iteration(CFRunLoopObserverRef observer, CFRunLoopActivity activi
|
|||||||
if (ret == -1)
|
if (ret == -1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if ( g_runloop.frames.video.current.menu.framebuf_dirty
|
||||||
|
|| g_runloop.frames.video.current.menu.is_animated
|
||||||
|
)
|
||||||
CFRunLoopWakeUp(CFRunLoopGetMain());
|
CFRunLoopWakeUp(CFRunLoopGetMain());
|
||||||
|
|
||||||
/* TODO/FIXME
|
/* TODO/FIXME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user