WiimoteScannerDarwin: Don't attempt to scan if inquiry doesn't start
This commit is contained in:
parent
6794532abe
commit
eb7b70b48d
|
@ -54,7 +54,8 @@ void WiimoteScannerDarwin::FindWiimotes(std::vector<Wiimote*>& found_wiimotes,
|
||||||
ERROR_LOG_FMT(WIIMOTE, "Unable to do Bluetooth discovery");
|
ERROR_LOG_FMT(WIIMOTE, "Unable to do Bluetooth discovery");
|
||||||
[bth release];
|
[bth release];
|
||||||
[sbt release];
|
[sbt release];
|
||||||
btFailed = true;
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue