summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2014-12-18 09:10:22 +1100
committerskidau <skidau@gmail.com>2014-12-20 09:44:35 +1100
commit9eecfca71d45b02274d891746baea624f9f2779f (patch)
tree06d7e2190e64a2867ea5fa4289920e1c7f83b971 /Source/Core
parentb30802e2f013726842f69c6e4ea28af13ff31974 (diff)
Corrected the buffer that is used by the GCAdapter thread.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/SI_GCAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::mutex> lk(s_mutex);