(GX) skip polling of disconnected GC controllers

This commit is contained in:
ToadKing 2013-01-06 19:19:23 -05:00
parent 71bc5ae50d
commit 5f08c2f937

View File

@ -389,6 +389,9 @@ static void gx_input_poll(void *data)
for (unsigned port = 0; port < MAX_PADS; port++)
{
if (!(SI_GetType(port) & SI_TYPE_GC))
continue;
uint64_t *state_cur = &pad_state[port];
uint16_t down = PAD_ButtonsHeld(port);