Skip to content

Commit

Permalink
Corrected the buffer that is used by the GCAdapter thread.
Browse files Browse the repository at this point in the history
  • Loading branch information
skidau committed Dec 17, 2014
1 parent 418e006 commit 89257d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/HW/SI_GCAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 89257d6

Please sign in to comment.