forked from dolphin-emu/dolphin
Fix IORead return off-by-one error in Windows real wiimote code.
This commit is contained in:
@@ -418,7 +418,7 @@ int Wiimote::IORead(u8* buf)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return bytes;
|
return bytes + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int Wiimote::IOWrite(const u8* buf, int len)
|
int Wiimote::IOWrite(const u8* buf, int len)
|
||||||
|
Reference in New Issue
Block a user