WII_IPC_HLE_Device_usb_kbd.cpp's Update method should return 0, not false, it communicates the wrong intent otherwise.
This commit is contained in:
parent
14f2fcc96f
commit
679a1bb2eb
|
@ -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};
|
||||||
|
|
Loading…
Reference in New Issue