mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-12 14:12:38 +00:00
Workaround GC adapter detection breaking when reset fails
This commit is contained in:
parent
0077cacdc5
commit
7e944c1141
1 changed files with 3 additions and 4 deletions
|
@ -218,10 +218,9 @@ static void ReadThreadFunc()
|
|||
error = libusb_reset_device(s_handle);
|
||||
ERROR_LOG_FMT(CONTROLLERINTERFACE, "Read: libusb_reset_device: {}",
|
||||
LibusbUtils::ErrorWrap(error));
|
||||
if (error != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
// If error is nonzero, try fixing it next loop iteration. We can't easily return
|
||||
// and cleanup program state without getting another thread to call Reset().
|
||||
}
|
||||
|
||||
ProcessInputPayload(input_buffer.data(), payload_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue