mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +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])
|
for (GCController *controller in [GCController controllers])
|
||||||
{
|
{
|
||||||
/* If we have not assigned a slot to this controller yet, ignore it. */
|
/* 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))
|
if (slot != -1 && (slot < MAX_USERS))
|
||||||
apple_gamecontroller_joypad_poll_internal(controller, slot);
|
apple_gamecontroller_joypad_poll_internal(controller, slot);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user