(OSK) Add fallback for find_osk_driver

This commit is contained in:
Twinaphex 2014-08-15 18:13:29 +02:00
parent 310c3ddae2
commit e6e96cc74d

View File

@ -218,7 +218,12 @@ static void find_osk_driver(void)
for (d = 0; osk_drivers[d]; d++)
RARCH_LOG_OUTPUT("\t%s\n", osk_drivers[d]->ident);
rarch_fail(1, "find_osk_driver()");
RARCH_WARN("Going to default to first OSK driver...\n");
driver.osk = osk_drivers[0];
if (!driver.osk)
rarch_fail(1, "find_osk_driver()");
}
}