mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Cleanups
This commit is contained in:
parent
fd98496fec
commit
ca2fc9b8d8
@ -2866,9 +2866,9 @@ static int16_t input_joypad_axis(const input_device_driver_t *drv,
|
|||||||
input_analog_sensitivity;
|
input_analog_sensitivity;
|
||||||
|
|
||||||
if (new_val > 0x7fff)
|
if (new_val > 0x7fff)
|
||||||
new_val = 0x7fff;
|
return 0x7fff;
|
||||||
else if (new_val < -0x7fff)
|
else if (new_val < -0x7fff)
|
||||||
new_val = -0x7fff;
|
return -0x7fff;
|
||||||
|
|
||||||
return new_val;
|
return new_val;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user