Skip to content

Commit 3c2450d

Browse files
committed
macos: wakeup runloop
1 parent 6f0bb74 commit 3c2450d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

ui/drivers/cocoa/cocoa_common.m

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,13 @@ static void rarch_draw_observer(CFRunLoopObserverRef observer,
120120
#endif
121121

122122
runloop_flags = runloop_get_flags();
123-
#if !TARGET_OS_TV
123+
#if !TARGET_OS_TV && !defined(OSX)
124124
if (runloop_flags & RUNLOOP_FLAG_FASTMOTION)
125125
#endif
126126
CFRunLoopWakeUp(CFRunLoopGetMain());
127127
#if TARGET_OS_IOS
128128
else
129129
rarch_stop_draw_observer();
130-
#elif defined(OSX)
131-
else if (!(@available(macOS 15.0, *)))
132-
CFRunLoopWakeUp(CFRunLoopGetMain());
133130
#endif
134131
}
135132

0 commit comments

Comments
 (0)