mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-03 02:34:55 +00:00
Corrected the buffer that is used by the GCAdapter thread.
This commit is contained in:
parent
b30802e2f0
commit
9eecfca71d
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ static void Read()
|
||||||
{
|
{
|
||||||
u8 controller_payload_swap[37];
|
u8 controller_payload_swap[37];
|
||||||
|
|
||||||
libusb_interrupt_transfer(s_handle, s_endpoint_in, s_controller_payload, sizeof(controller_payload_swap), &s_controller_payload_size, 0);
|
libusb_interrupt_transfer(s_handle, s_endpoint_in, controller_payload_swap, sizeof(controller_payload_swap), &s_controller_payload_size, 0);
|
||||||
|
|
||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> lk(s_mutex);
|
std::lock_guard<std::mutex> lk(s_mutex);
|
||||||
|
|
Loading…
Add table
Reference in a new issue