From 9eecfca71d45b02274d891746baea624f9f2779f Mon Sep 17 00:00:00 2001 From: skidau Date: Thu, 18 Dec 2014 09:10:22 +1100 Subject: [PATCH] Corrected the buffer that is used by the GCAdapter thread. --- Source/Core/Core/HW/SI_GCAdapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/SI_GCAdapter.cpp b/Source/Core/Core/HW/SI_GCAdapter.cpp index 269219ac7f..0958db0bd2 100644 --- a/Source/Core/Core/HW/SI_GCAdapter.cpp +++ b/Source/Core/Core/HW/SI_GCAdapter.cpp @@ -38,7 +38,7 @@ static void Read() { 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 lk(s_mutex);