mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 14:28:47 +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;
|
||||
const input_device_driver_t *joypad = input_driver_get_joypad_driver();
|
||||
|
||||
if (!state)
|
||||
if (!state || !joypad)
|
||||
return;
|
||||
|
||||
if (!joypad)
|
||||
{
|
||||
RARCH_ERR("Cannot poll raw joypad state.");
|
||||
return;
|
||||
}
|
||||
|
||||
/* poll only the relevant port */
|
||||
/*for (i = 0; i < settings->input.max_users; i++)*/
|
||||
for (a = 0; a < MENU_MAX_AXES; a++)
|
||||
|
Loading…
Reference in New Issue
Block a user