mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Input - turbocode - button ID is always below the threshold of
RARCH_FIRST_META_KEY, so put it inside the conditional
This commit is contained in:
parent
5cf2a7abd1
commit
2aea7a375d
@ -22351,7 +22351,6 @@ static int16_t input_state_device(
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Don't allow turbo for D-pad. */
|
/* Don't allow turbo for D-pad. */
|
||||||
if ( (id < RETRO_DEVICE_ID_JOYPAD_UP) ||
|
if ( (id < RETRO_DEVICE_ID_JOYPAD_UP) ||
|
||||||
@ -22456,6 +22455,7 @@ static int16_t input_state_device(
|
|||||||
p_rarch->input_driver_turbo_btns.enable[port] &= ~(1 << id);
|
p_rarch->input_driver_turbo_btns.enable[port] &= ~(1 << id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user