Merge pull request #98 from lioncash/clarify-kb-update

WII_IPC_HLE_Device_usb_kbd.cpp's Update method should return 0, not false.
This commit is contained in:
Pierre Bourdon 2014-02-23 10:09:54 +01:00
commit 080a83e446

View File

@ -88,7 +88,7 @@ bool CWII_IPC_HLE_Device_usb_kbd::IsKeyPressed(int _Key)
u32 CWII_IPC_HLE_Device_usb_kbd::Update() u32 CWII_IPC_HLE_Device_usb_kbd::Update()
{ {
if (!SConfig::GetInstance().m_WiiKeyboard || !m_Active) if (!SConfig::GetInstance().m_WiiKeyboard || !m_Active)
return false; return 0;
u8 Modifiers = 0x00; u8 Modifiers = 0x00;
u8 PressedKeys[6] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; u8 PressedKeys[6] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00};