mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-12 23:18:51 +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)
|
||||
return;
|
||||
|
||||
if ( g_runloop.frames.video.current.menu.framebuf_dirty
|
||||
|| g_runloop.frames.video.current.menu.is_animated
|
||||
)
|
||||
CFRunLoopWakeUp(CFRunLoopGetMain());
|
||||
|
||||
/* TODO/FIXME
|
||||
|
Loading…
x
Reference in New Issue
Block a user