mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
input_poll - cleanup
This commit is contained in:
parent
a6afddae04
commit
d49b7b28b6
@ -566,11 +566,14 @@ void input_poll(void)
|
||||
input_driver_turbo_btns.count++;
|
||||
|
||||
for (i = 0; i < max_users; i++)
|
||||
{
|
||||
input_driver_turbo_btns.frame_enable[i] = 0;
|
||||
|
||||
if (!input_driver_block_libretro_input &&
|
||||
libretro_input_binds[i][RARCH_TURBO_ENABLE].valid)
|
||||
if (input_driver_block_libretro_input)
|
||||
return;
|
||||
|
||||
for (i = 0; i < max_users; i++)
|
||||
{
|
||||
if (libretro_input_binds[i][RARCH_TURBO_ENABLE].valid)
|
||||
{
|
||||
rarch_joypad_info_t joypad_info;
|
||||
joypad_info.axis_threshold = input_driver_axis_threshold;
|
||||
@ -583,9 +586,6 @@ void input_poll(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (input_driver_block_libretro_input)
|
||||
return;
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
if (overlay_ptr && input_overlay_is_alive(overlay_ptr))
|
||||
input_poll_overlay(
|
||||
|
Loading…
x
Reference in New Issue
Block a user