mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Don't burn a CPU core and spam logs when GC Adapter fails
This commit is contained in:
parent
54850e936c
commit
afb5eff426
@ -211,6 +211,10 @@ static void ReadThreadFunc()
|
||||
ERROR_LOG_FMT(CONTROLLERINTERFACE, "Read: libusb_interrupt_transfer failed: {}",
|
||||
LibusbUtils::ErrorWrap(error));
|
||||
}
|
||||
if (error == LIBUSB_ERROR_IO)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
ProcessInputPayload(input_buffer.data(), payload_size);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user