Corrected the buffer that is used by the GCAdapter thread.

This commit is contained in:
skidau 2014-12-18 09:10:22 +11:00
parent b30802e2f0
commit 9eecfca71d
1 changed files with 1 additions and 1 deletions

View File

@ -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);