mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
(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;
|
||||
|
||||
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user