(WiiU/kpad) Actually return true when kpad_init succeeds, warning fix
This commit is contained in:
parent
41541128c5
commit
70fba3e92e
|
@ -81,10 +81,12 @@ static int get_slot_for_channel(unsigned channel)
|
||||||
|
|
||||||
static bool kpad_init(void *data)
|
static bool kpad_init(void *data)
|
||||||
{
|
{
|
||||||
(void *)data;
|
(void)data;
|
||||||
|
|
||||||
kpad_poll();
|
kpad_poll();
|
||||||
kpad_ready = true;
|
kpad_ready = true;
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool kpad_query_pad(unsigned pad)
|
static bool kpad_query_pad(unsigned pad)
|
||||||
|
|
Loading…
Reference in New Issue