mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-12 04:31:19 +00:00
(MFi) Fix typo
This commit is contained in:
parent
a6c19b083a
commit
33ba9777a0
@ -166,7 +166,7 @@ static void apple_gamecontroller_joypad_poll(void)
|
||||
for (GCController *controller in [GCController controllers])
|
||||
{
|
||||
/* If we have not assigned a slot to this controller yet, ignore it. */
|
||||
int32_t slot = controller ? controller.playerIndex : 0;
|
||||
int32_t slot = controller ? controller.playerIndex : -1;
|
||||
if (slot != -1 && (slot < MAX_USERS))
|
||||
apple_gamecontroller_joypad_poll_internal(controller, slot);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user