mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Merge pull request #10126 from hcvcastro/master
avoid crash when running retroarch
This commit is contained in:
commit
481e970424
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user