mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(Apple HID) Use CFRUnLoopGetCurrent() instead of CFRunLoopGetMain()
This commit is contained in:
parent
2ead788aa3
commit
3ec863d4a5
@ -244,8 +244,8 @@ static bool apple_hid_init(void)
|
||||
|
||||
IOHIDManagerRegisterDeviceMatchingCallback(g_hid_manager,
|
||||
add_device, 0);
|
||||
IOHIDManagerScheduleWithRunLoop(g_hid_manager, CFRunLoopGetMain(),
|
||||
kCFRunLoopCommonModes);
|
||||
IOHIDManagerScheduleWithRunLoop(g_hid_manager, CFRunLoopGetCurrent(),
|
||||
kCFRunLoopDefaultMode);
|
||||
|
||||
IOHIDManagerOpen(g_hid_manager, kIOHIDOptionsTypeNone);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user