Merge pull request #1464 from phire/usb_keyboard

Remove GetPointer from Wii USB Keyboard.
This commit is contained in:
comex 2014-11-01 22:35:37 -04:00
commit 5d18c66c99
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ bool CWII_IPC_HLE_Device_usb_kbd::IOCtl(u32 _CommandAddress)
if (SConfig::GetInstance().m_WiiKeyboard && !m_MessageQueue.empty())
{
*(SMessageData*)Memory::GetPointer(BufferOut) = m_MessageQueue.front();
Memory::CopyToEmu(BufferOut, &m_MessageQueue.front(), sizeof(SMessageData));
m_MessageQueue.pop();
}