Fallback to first working joypad driver if init failed

Fallback to the old behavior on init failure so there's no
regression if the user did not select a working joypad driver.
This commit is contained in:
Mike Robinson 2014-10-03 03:05:35 +01:00
parent b165b8fa82
commit 6203c3162e

View File

@ -105,7 +105,7 @@ const rarch_joypad_driver_t *input_joypad_init_driver(const char *ident)
}
}
return NULL;
return input_joypad_init_first();
}
const rarch_joypad_driver_t *input_joypad_init_first(void)