mirror of
https://github.com/libretro/RetroArch
synced 2025-02-19 21:40:49 +00:00
fixed MFI controller being set to P2
This commit is contained in:
parent
5aba01ed26
commit
ec806f65f9
@ -138,7 +138,7 @@ static void apple_gamecontroller_joypad_connect(GCController *controller)
|
|||||||
? desired_index : 0;
|
? desired_index : 0;
|
||||||
|
|
||||||
/* prevent same controller getting set twice */
|
/* prevent same controller getting set twice */
|
||||||
if (mfi_controllers[desired_index] != controller.hash)
|
if (mfi_controllers[desired_index] != (uint32_t)controller.hash)
|
||||||
{
|
{
|
||||||
/* desired slot is unused, take it */
|
/* desired slot is unused, take it */
|
||||||
if (!mfi_controllers[desired_index])
|
if (!mfi_controllers[desired_index])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user