Forgot about this. Nobody wants WiiUse debugging on. Also, Real Wiimote works with this one, because I forgot to remove the -1! Huzza!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4593 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2009-11-19 22:58:36 +00:00
parent 1aa5e09db9
commit 47f3c5bc31
2 changed files with 5 additions and 3 deletions

View File

@ -38,7 +38,9 @@
#ifndef WIIUSE_H_INCLUDED
#define WIIUSE_H_INCLUDED
#define WITH_WIIUSE_DEBUG
//#define WITH_WIIUSE_DEBUG
#ifdef _WIN32
/* windows */
#include <windows.h>

View File

@ -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