diff options
Diffstat (limited to 'src/input_common')
| -rw-r--r-- | src/input_common/gcadapter/gc_adapter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.cpp b/src/input_common/gcadapter/gc_adapter.cpp index 38cf02f7e..05607e033 100644 --- a/src/input_common/gcadapter/gc_adapter.cpp +++ b/src/input_common/gcadapter/gc_adapter.cpp | |||
| @@ -243,6 +243,9 @@ void Adapter::Setup() { | |||
| 243 | } | 243 | } |
| 244 | libusb_free_device_list(devices, 1); | 244 | libusb_free_device_list(devices, 1); |
| 245 | } | 245 | } |
| 246 | // Break out of the ScanThreadFunc() loop that is constantly looking for the device | ||
| 247 | // Assumes user has GC adapter plugged in before launch to use the adapter | ||
| 248 | detect_thread_running = false; | ||
| 246 | } | 249 | } |
| 247 | 250 | ||
| 248 | bool Adapter::CheckDeviceAccess(libusb_device* device) { | 251 | bool Adapter::CheckDeviceAccess(libusb_device* device) { |