(dinput_joypad.c) Cleanups

This commit is contained in:
twinaphex 2019-06-24 05:07:37 +02:00
parent 0dcbb985be
commit c55aefef1e

View File

@ -526,9 +526,9 @@ static int16_t dinput_joypad_axis(unsigned port_num, uint32_t joyaxis)
}
if (is_neg && val > 0)
val = 0;
return 0;
else if (is_pos && val < 0)
val = 0;
return 0;
return val;
}