(MFi) Fix typo

This commit is contained in:
libretroadmin 2023-02-20 16:47:42 +01:00
parent a6c19b083a
commit 33ba9777a0

View File

@ -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);
}