mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
fix real wiimote on windows...don't really know if it was working on other platforms...yes, sorta ugly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3665 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
37332216ef
commit
15e4eed7fa
@ -147,7 +147,13 @@ void ReadData()
|
||||
{
|
||||
//INFO_LOG(CONSOLE, "Writing data to the Wiimote\n");
|
||||
SEvent& rEvent = m_EventWriteQueue.front();
|
||||
wiiuse_io_write(m_pWiiMote, (byte*)rEvent.m_PayLoad, (int)m_EventWriteQueue.size());
|
||||
wiiuse_io_write(m_pWiiMote, (byte*)rEvent.m_PayLoad,
|
||||
#ifdef _WIN32 // dunno if this is needed, sonic ran away when i found the bug :p
|
||||
MAX_PAYLOAD
|
||||
#else
|
||||
(int)m_EventWriteQueue.size()
|
||||
#endif
|
||||
);
|
||||
m_EventWriteQueue.pop();
|
||||
|
||||
#ifdef _WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user