Fix IORead return off-by-one error in Windows real wiimote code.
This commit is contained in:
1 parent
3c8477df03
commit
c32e2f33ac
1 file changed
+1
-1
@@ -418,7 +418,7 @@ int Wiimote::IORead(u8* buf)
|
||||
}
|
||||
}
|
||||
|
||||
return bytes;
|
||||
return bytes + 1;
|
||||
}
|
||||
|
||||
int Wiimote::IOWrite(const u8* buf, int len)
|
||||
|
||||
Reference in new issue
Block a user