Skip to content

Commit

Permalink
Merge pull request dolphin-emu#3574 from palxex/master
Browse files Browse the repository at this point in the history
fix El Capitan WiimoteReal pairing problem and refresh crash problem
  • Loading branch information
delroth committed Jan 30, 2016
2 parents 5022108 + ea44e0e commit c2c1f83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/Core/HW/WiimoteReal/IOdarwin.mm
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ @interface ConnectBT: NSObject {}
@{ @kIOHIDVendorIDKey: @0x057e, @kIOHIDProductIDKey: @0x0330 },
];
IOHIDManagerSetDeviceMatchingMultiple(hid, (CFArrayRef)criteria);
CFRunLoopRun();
if (IOHIDManagerOpen(hid, kIOHIDOptionsTypeNone) != kIOReturnSuccess)
WARN_LOG(WIIMOTE, "Failed to open HID Manager");
CFSetRef devices = IOHIDManagerCopyDevices(hid);
if (devices)
{
Expand Down

0 comments on commit c2c1f83

Please sign in to comment.