mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 06:40:18 +00:00
(GX) skip polling of disconnected GC controllers
This commit is contained in:
parent
71bc5ae50d
commit
5f08c2f937
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user