mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-03 08:52:39 +00:00
Don't burn a CPU core and spam logs when GC Adapter fails
This commit is contained in:
parent
34571640d3
commit
6c07e4796e
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue