(GX) Input - Don't do ptype == 0 early return

This commit is contained in:
twinaphex 2014-06-10 01:29:20 +02:00
parent 89b68687e4
commit 8c7435a308

View File

@ -331,9 +331,6 @@ static void handle_hotplug(void *data, unsigned port, uint32_t ptype)
{
gx_input_t *gx = (gx_input_t*)data;
if (ptype == 0)
return;
gx->ptype[port] = ptype;
if (!g_settings.input.autodetect_enable)
@ -475,6 +472,8 @@ static void gx_input_poll(void *data)
}
}
#else
ptype = WPAD_EXP_GAMECUBE;
#endif
else
{