Merge pull request #10126 from hcvcastro/master

avoid crash when running retroarch
This commit is contained in:
Twinaphex 2020-02-16 22:27:01 +01:00 committed by GitHub
commit 481e970424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16364,6 +16364,7 @@ const input_device_driver_t *input_joypad_init_driver(
for (i = 0; joypad_drivers[i]; i++)
{
if (string_is_equal(ident, joypad_drivers[i]->ident)
&& joypad_drivers[i]->init
&& joypad_drivers[i]->init(data))
{
RARCH_LOG("[Joypad]: Found joypad driver: \"%s\".\n",