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:
Lioncash 2014-02-23 04:08:52 -05:00
parent 14f2fcc96f
commit 679a1bb2eb
1 changed files with 1 additions and 1 deletions

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