(GX) Input - Don't do ptype == 0 early return
This commit is contained in:
parent
89b68687e4
commit
8c7435a308
|
@ -331,9 +331,6 @@ static void handle_hotplug(void *data, unsigned port, uint32_t ptype)
|
||||||
{
|
{
|
||||||
gx_input_t *gx = (gx_input_t*)data;
|
gx_input_t *gx = (gx_input_t*)data;
|
||||||
|
|
||||||
if (ptype == 0)
|
|
||||||
return;
|
|
||||||
|
|
||||||
gx->ptype[port] = ptype;
|
gx->ptype[port] = ptype;
|
||||||
|
|
||||||
if (!g_settings.input.autodetect_enable)
|
if (!g_settings.input.autodetect_enable)
|
||||||
|
@ -475,6 +472,8 @@ static void gx_input_poll(void *data)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
ptype = WPAD_EXP_GAMECUBE;
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue