mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-15 16:59:18 +01: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: {}",
|
ERROR_LOG_FMT(CONTROLLERINTERFACE, "Read: libusb_interrupt_transfer failed: {}",
|
||||||
LibusbUtils::ErrorWrap(error));
|
LibusbUtils::ErrorWrap(error));
|
||||||
}
|
}
|
||||||
|
if (error == LIBUSB_ERROR_IO)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
ProcessInputPayload(input_buffer.data(), payload_size);
|
ProcessInputPayload(input_buffer.data(), payload_size);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user