tvOS: check task queue more aggressively (#17227)

This commit is contained in:
Eric Warmenhoven 2024-12-02 18:51:10 -05:00 committed by GitHub
parent f9faa9974a
commit 14a0c186f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -163,6 +163,8 @@ static void rarch_draw_observer(CFRunLoopObserverRef observer,
return; return;
} }
task_queue_check();
runloop_flags = runloop_get_flags(); runloop_flags = runloop_get_flags();
if (!(runloop_flags & RUNLOOP_FLAG_IDLE)) if (!(runloop_flags & RUNLOOP_FLAG_IDLE))
CFRunLoopWakeUp(CFRunLoopGetMain()); CFRunLoopWakeUp(CFRunLoopGetMain());