mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix C89_BUILD
This commit is contained in:
parent
75f3a79aa6
commit
586f54a0f7
@ -13676,9 +13676,11 @@ static int16_t input_state_device(
|
||||
input_driver_turbo_btns.turbo_pressed[port] &= ~(1 << id);
|
||||
else if (!(input_driver_turbo_btns.turbo_pressed[port] & (1 << id)))
|
||||
{
|
||||
uint16_t enable_new;
|
||||
input_driver_turbo_btns.turbo_pressed[port] |= 1 << id;
|
||||
/* Toggle turbo for pressed button but make sure at least one button has turbo */
|
||||
uint16_t enable_new = input_driver_turbo_btns.enable[port] ^ (1 << id);
|
||||
/* Toggle turbo for pressed button but make
|
||||
* sure at least one button has turbo */
|
||||
enable_new = input_driver_turbo_btns.enable[port] ^ (1 << id);
|
||||
if (enable_new)
|
||||
input_driver_turbo_btns.enable[port] = enable_new;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user