mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 11:44:15 +01:00
Break out of scan loop if can't find adapter on first run
This commit is contained in:
parent
4489ea6f53
commit
042c6602a0
@ -243,6 +243,9 @@ void Adapter::Setup() {
|
|||||||
}
|
}
|
||||||
libusb_free_device_list(devices, 1);
|
libusb_free_device_list(devices, 1);
|
||||||
}
|
}
|
||||||
|
// Break out of the ScanThreadFunc() loop that is constantly looking for the device
|
||||||
|
// Assumes user has GC adapter plugged in before launch to use the adapter
|
||||||
|
detect_thread_running = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Adapter::CheckDeviceAccess(libusb_device* device) {
|
bool Adapter::CheckDeviceAccess(libusb_device* device) {
|
||||||
|
Loading…
Reference in New Issue
Block a user