mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 05:16:12 +00:00
(OSK) Add fallback for find_osk_driver
This commit is contained in:
parent
310c3ddae2
commit
e6e96cc74d
7
driver.c
7
driver.c
@ -218,7 +218,12 @@ static void find_osk_driver(void)
|
|||||||
for (d = 0; osk_drivers[d]; d++)
|
for (d = 0; osk_drivers[d]; d++)
|
||||||
RARCH_LOG_OUTPUT("\t%s\n", osk_drivers[d]->ident);
|
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()");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user