Remove GetPointer from Wii USB Keyboard.

This commit is contained in:
Scott Mansell 2014-11-01 23:59:19 +13:00
parent 86c100c442
commit 4ba794d4c9

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();
}