mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue