(Android) Buildfix

This commit is contained in:
twinaphex 2017-04-26 15:43:16 +02:00
parent 848d8a95ab
commit 549ed6fc6b

View File

@ -1244,7 +1244,8 @@ static bool android_input_key_pressed(void *data, int key)
rarch_joypad_info_t joypad_info;
android_input_t *android = (android_input_t*)data;
settings_t *settings = config_get_ptr();
const struct retro_keybind *keyptr = input_config_binds[0][key];
const struct retro_keybind *keyptr = (const struct retro_keybind*)
&input_config_binds[0][key];
if( keyptr->valid
&& android_keyboard_port_input_pressed(input_config_binds[0],