mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
This should fix wiimote extensions on linux. Now to figure out the windows issue, and then OSX ... Sigh!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6702 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -223,7 +223,7 @@ unsigned char *Wiimote::IORead()
|
||||
|
||||
// Read the pending message into the buffer
|
||||
unsigned char *buffer = new unsigned char[MAX_PAYLOAD];
|
||||
r = read(in_sock, buffer, sizeof(buffer));
|
||||
r = read(in_sock, buffer, sizeof(unsigned char) * MAX_PAYLOAD);
|
||||
if (r == -1)
|
||||
{
|
||||
// Error reading data
|
||||
|
Reference in New Issue
Block a user