This commit is contained in:
twinaphex 2017-12-18 05:13:57 +01:00
parent 3c5d2f047c
commit 9b9cf7b036

View File

@ -784,9 +784,8 @@ void state_tracker_update_input(uint16_t *input1, uint16_t *input2)
} }
} }
static void input_keys_pressed_iterate(unsigned i, static INLINE void input_keys_pressed_iterate(unsigned i,
retro_bits_t* p_new_state, retro_bits_t* p_new_state)
rarch_joypad_info_t *joypad_info)
{ {
if ((i >= RARCH_FIRST_META_KEY) && if ((i >= RARCH_FIRST_META_KEY) &&
current_input->meta_key_pressed(current_input_data, i) current_input->meta_key_pressed(current_input_data, i)
@ -965,8 +964,7 @@ void input_menu_keys_pressed(void *data, retro_bits_t* p_new_state)
} }
} }
input_keys_pressed_iterate(i, p_new_state, input_keys_pressed_iterate(i, p_new_state);
&joypad_info);
} }
for (i = 0; i < max_users; i++) for (i = 0; i < max_users; i++)
@ -1098,9 +1096,7 @@ void input_keys_pressed(void *data, retro_bits_t* p_new_state)
return; return;
} }
input_keys_pressed_iterate(i, p_new_state);
input_keys_pressed_iterate(i, p_new_state,
&joypad_info);
} }
} }