diff --git a/Externals/WiiUseSrc/Src/wiiuse.h b/Externals/WiiUseSrc/Src/wiiuse.h index ca657dc374..5633fbed90 100644 --- a/Externals/WiiUseSrc/Src/wiiuse.h +++ b/Externals/WiiUseSrc/Src/wiiuse.h @@ -38,7 +38,9 @@ #ifndef WIIUSE_H_INCLUDED #define WIIUSE_H_INCLUDED -#define WITH_WIIUSE_DEBUG + +//#define WITH_WIIUSE_DEBUG + #ifdef _WIN32 /* windows */ #include diff --git a/Source/Plugins/Plugin_Wiimote/Src/wiimote_real.cpp b/Source/Plugins/Plugin_Wiimote/Src/wiimote_real.cpp index 957ecb622a..ac86ad0b5f 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/wiimote_real.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/wiimote_real.cpp @@ -100,8 +100,8 @@ void SendData(u16 _channelID, const u8* _pData, u32 _Size) m_pCriticalSection->Enter(); { SEvent WriteEvent; - memcpy(WriteEvent.m_PayLoad, _pData, _Size); - WriteEvent._Size = _Size - 1; + memcpy(WriteEvent.m_PayLoad, _pData, _Size); + WriteEvent._Size = _Size; m_EventWriteQueue.push(WriteEvent); // Debugging