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++;
|
input_driver_turbo_btns.count++;
|
||||||
|
|
||||||
for (i = 0; i < max_users; i++)
|
for (i = 0; i < max_users; i++)
|
||||||
{
|
|
||||||
input_driver_turbo_btns.frame_enable[i] = 0;
|
input_driver_turbo_btns.frame_enable[i] = 0;
|
||||||
|
|
||||||
if (!input_driver_block_libretro_input &&
|
if (input_driver_block_libretro_input)
|
||||||
libretro_input_binds[i][RARCH_TURBO_ENABLE].valid)
|
return;
|
||||||
|
|
||||||
|
for (i = 0; i < max_users; i++)
|
||||||
|
{
|
||||||
|
if (libretro_input_binds[i][RARCH_TURBO_ENABLE].valid)
|
||||||
{
|
{
|
||||||
rarch_joypad_info_t joypad_info;
|
rarch_joypad_info_t joypad_info;
|
||||||
joypad_info.axis_threshold = input_driver_axis_threshold;
|
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
|
#ifdef HAVE_OVERLAY
|
||||||
if (overlay_ptr && input_overlay_is_alive(overlay_ptr))
|
if (overlay_ptr && input_overlay_is_alive(overlay_ptr))
|
||||||
input_poll_overlay(
|
input_poll_overlay(
|
||||||
|
|
Loading…
Reference in New Issue