This may fix the extension issue on windows. Please test. Thanks BhaaL.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6703 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4b3a6a6d47
commit
71209d99c8
|
@ -309,7 +309,7 @@ unsigned char *Wiimote::IORead()
|
|||
|
||||
// This needs to be done even if ReadFile fails, essential during init
|
||||
// Move the data over one, so we can add back in data report indicator byte (here, 0xa1)
|
||||
memmove(buffer + 1, buffer, sizeof(buffer) - 1);
|
||||
memmove(buffer + 1, buffer, sizeof(unsigned char) * MAX_PAYLOAD - 1);
|
||||
buffer[0] = 0xa1;
|
||||
|
||||
ResetEvent(hid_overlap.hEvent);
|
||||
|
|
Loading…
Reference in New Issue