diff options
| author | mathieui <mathieui@mathieui.net> | 2015-03-10 19:16:33 +0100 |
|---|---|---|
| committer | mathieui <mathieui@mathieui.net> | 2015-03-13 18:05:09 +0100 |
| commit | b9af0c4d127e4ced0844bc32ff85ade7d63c2b46 (patch) | |
| tree | 8818e21879ac7c3719c4a4e4e8b441803736c5de /Source/Core | |
| parent | 88ab6352dd5fe3f5852d3f57b4414265816ee533 (diff) | |
GC Adapter: Do not abort if some libusb functions are not supported
Also remove a typo.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/SI_GCAdapter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/HW/SI_GCAdapter.cpp b/Source/Core/Core/HW/SI_GCAdapter.cpp index 6a81bedbdc..99d2362841 100644 --- a/Source/Core/Core/HW/SI_GCAdapter.cpp +++ b/Source/Core/Core/HW/SI_GCAdapter.cpp @@ -104,7 +104,7 @@ void Setup() int dRet = libusb_get_device_descriptor(device, &desc); if (dRet) { - // could not aquire the descriptor, no point in trying to use it. + // could not acquire the descriptor, no point in trying to use it. ERROR_LOG(SERIALINTERFACE, "libusb_get_device_descriptor failed with error: %d", dRet); continue; } @@ -153,7 +153,7 @@ void Setup() } // this split is needed so that we don't avoid claiming the interface when // detaching the kernel driver is successful - if (ret != 0) + if (ret != 0 && ret != LIBUSB_ERROR_NOT_SUPPORTED) { continue; } |
