mirror of
https://github.com/dolphin-emu/WiimotePair.git
synced 2026-01-31 01:15:18 +01:00
Merge pull request #9 from EemilAhonen/Bugfix/device-rediscovery
fix: device rediscovery issue when name changes
This commit is contained in:
@@ -95,6 +95,8 @@
|
||||
- (void)deviceInquiryDeviceFound:(IOBluetoothDeviceInquiry*)sender device:(IOBluetoothDevice*)device {
|
||||
// Skip unsupported devices.
|
||||
if (![device.name containsString:@"Nintendo RVL-CNT-01"]) {
|
||||
// Clear devices to enable rediscovery if the name changes.
|
||||
[_deviceInquiry clearFoundDevices];
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user