(input/android_input.c) Remove extraneous else

This commit is contained in:
twinaphex 2014-08-27 04:09:25 +02:00
parent 5a77b1aef3
commit c564252f2f
1 changed files with 2 additions and 3 deletions

View File

@ -825,9 +825,8 @@ static bool android_joypad_button(unsigned port_num, uint16_t joykey)
default: return false; default: return false;
} }
} }
else return joykey < LAST_KEYCODE && get_bit(android->pad_state[port_num],
return joykey < LAST_KEYCODE && get_bit(android->pad_state[port_num], joykey);
joykey);
} }
static int16_t android_joypad_axis(unsigned port_num, uint32_t joyaxis) static int16_t android_joypad_axis(unsigned port_num, uint32_t joyaxis)