mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Put this behind HAVE_MFI ifdefs
This commit is contained in:
parent
4cbee42692
commit
76df818c45
@ -3633,9 +3633,11 @@ static int16_t input_state_wrap(
|
||||
{
|
||||
ret |= joypad->state(
|
||||
joypad_info, binds[port], port);
|
||||
#ifdef HAVE_MFI
|
||||
if (sec_joypad)
|
||||
ret |= sec_joypad->state(
|
||||
joypad_info, binds[port], port);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -3647,11 +3649,13 @@ static int16_t input_state_wrap(
|
||||
joypad,
|
||||
joypad_info, binds[port], port, id))
|
||||
return 1;
|
||||
#ifdef HAVE_MFI
|
||||
else if (sec_joypad &&
|
||||
button_is_pressed(
|
||||
sec_joypad,
|
||||
joypad_info, binds[port], port, id))
|
||||
return 1;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user