diff --git a/Source/Core/Core/HW/WiimoteReal/IOdarwin.mm b/Source/Core/Core/HW/WiimoteReal/IOdarwin.mm index 0aada486c4..f0743dc6d6 100644 --- a/Source/Core/Core/HW/WiimoteReal/IOdarwin.mm +++ b/Source/Core/Core/HW/WiimoteReal/IOdarwin.mm @@ -54,7 +54,7 @@ void WiimoteScannerDarwin::FindWiimotes(std::vector& found_wiimotes, do { - CFRunLoopRun(); + CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); } while (!sbt->done); int found_devices = [[bti foundDevices] count]; @@ -255,7 +255,6 @@ void WiimoteDarwin::DisablePowerAssertionInternal() aborted:(BOOL)aborted { done = true; - CFRunLoopStop(CFRunLoopGetCurrent()); } - (void)deviceInquiryDeviceFound:(IOBluetoothDeviceInquiry*)sender device:(IOBluetoothDevice*)device