mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(Menu) Cleanup
This commit is contained in:
parent
fe1351cc0d
commit
1669d8b3e5
@ -265,15 +265,9 @@ static void menu_input_poll_bind_get_rested_axes(struct menu_bind_state *state,
|
|||||||
unsigned a;
|
unsigned a;
|
||||||
const input_device_driver_t *joypad = input_driver_get_joypad_driver();
|
const input_device_driver_t *joypad = input_driver_get_joypad_driver();
|
||||||
|
|
||||||
if (!state)
|
if (!state || !joypad)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!joypad)
|
|
||||||
{
|
|
||||||
RARCH_ERR("Cannot poll raw joypad state.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* poll only the relevant port */
|
/* poll only the relevant port */
|
||||||
/*for (i = 0; i < settings->input.max_users; i++)*/
|
/*for (i = 0; i < settings->input.max_users; i++)*/
|
||||||
for (a = 0; a < MENU_MAX_AXES; a++)
|
for (a = 0; a < MENU_MAX_AXES; a++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user