mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 10:36:50 +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