WiimoteScannerDarwin: Don't attempt to scan if inquiry doesn't start

This commit is contained in:
OatmealDome 2021-06-23 14:31:16 -04:00
parent 6794532abe
commit eb7b70b48d
1 changed files with 2 additions and 1 deletions

View File

@ -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