mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Cleanups
This commit is contained in:
parent
3c5d2f047c
commit
9b9cf7b036
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user