Fix a mess up on my part, causing a bunch of unknown events in Linux with the Wiimote. Dolphin sends out packets without the start 0x52 byte. WiiUse checks for this and adds it automatically. Wiimote is still having some problems, trying to figure it out

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3536 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2009-06-22 11:56:27 +00:00
parent cbff6dfde3
commit 1f590b8900
4 changed files with 81 additions and 80 deletions

View File

@ -148,10 +148,6 @@ void ReadData()
if (wiiuse_io_read(m_pWiiMote))
{
const byte* pBuffer = m_pWiiMote->event_buf;
#ifndef _WIN32
// The Linux packets are starting out one spot before the Windows one. This should really be handled in the wiiuse library
pBuffer++;
#endif
// Check if we have a channel (connection) if so save the data...
if (m_channelID > 0)
{