summaryrefslogtreecommitdiffstats
path: root/src/input_common/gcadapter
diff options
context:
space:
mode:
authorAmeer <aj662@drexel.edu>2020-07-10 17:07:43 +0200
committerAmeer <aj662@drexel.edu>2020-07-10 17:07:43 +0200
commit042c6602a057c990bf2eeec31b88c48e987050c7 (patch)
tree8aac3b1c9853fcd8aa23ac7fc13da4f1fc2adac1 /src/input_common/gcadapter
parentRebase to master, fix merge conflicts (diff)
downloadyuzu-042c6602a057c990bf2eeec31b88c48e987050c7.tar
yuzu-042c6602a057c990bf2eeec31b88c48e987050c7.tar.gz
yuzu-042c6602a057c990bf2eeec31b88c48e987050c7.tar.bz2
yuzu-042c6602a057c990bf2eeec31b88c48e987050c7.tar.lz
yuzu-042c6602a057c990bf2eeec31b88c48e987050c7.tar.xz
yuzu-042c6602a057c990bf2eeec31b88c48e987050c7.tar.zst
yuzu-042c6602a057c990bf2eeec31b88c48e987050c7.zip
Diffstat (limited to '')
-rw-r--r--src/input_common/gcadapter/gc_adapter.cpp3
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() {
}
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) {