From c32e2f33ac07231754c54b1829cdde2e3cfe3612 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Fri, 5 Apr 2013 21:44:58 -0500 Subject: [PATCH] Fix IORead return off-by-one error in Windows real wiimote code. --- Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp b/Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp index d29fd01703..b86abb7ef2 100644 --- a/Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp +++ b/Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp @@ -418,7 +418,7 @@ int Wiimote::IORead(u8* buf) } } - return bytes; + return bytes + 1; } int Wiimote::IOWrite(const u8* buf, int len)