From 14a0c186f3b5fa278051e88a5e4674cabcaf5c58 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Mon, 2 Dec 2024 18:51:10 -0500 Subject: [PATCH] tvOS: check task queue more aggressively (#17227) --- ui/drivers/ui_cocoatouch.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/drivers/ui_cocoatouch.m b/ui/drivers/ui_cocoatouch.m index 39fb5260cc..c4df0f7661 100644 --- a/ui/drivers/ui_cocoatouch.m +++ b/ui/drivers/ui_cocoatouch.m @@ -163,6 +163,8 @@ static void rarch_draw_observer(CFRunLoopObserverRef observer, return; } + task_queue_check(); + runloop_flags = runloop_get_flags(); if (!(runloop_flags & RUNLOOP_FLAG_IDLE)) CFRunLoopWakeUp(CFRunLoopGetMain());