Fix IORead return off-by-one error in Windows real wiimote code.
This commit is contained in:
parent
3c8477df03
commit
c32e2f33ac
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue