(Menu) Cleanup

This commit is contained in:
twinaphex 2015-08-18 03:07:23 +02:00
parent fe1351cc0d
commit 1669d8b3e5

View File

@ -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++)