mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
(HAVE_OSK) Add OSK to menu iterate function
This commit is contained in:
parent
3ccf5c1457
commit
e8723dec16
@ -1321,6 +1321,22 @@ static int menu_iterate_func(void *data, unsigned action)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_OSK
|
||||||
|
// process pending osk init callback
|
||||||
|
if (g_settings.osk.cb_init != NULL)
|
||||||
|
{
|
||||||
|
if (g_settings.osk.cb_init(driver.osk_data))
|
||||||
|
g_settings.osk.cb_init = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
// process pending osk callback
|
||||||
|
if (g_settings.osk.cb_callback != NULL)
|
||||||
|
{
|
||||||
|
if (g_settings.osk.cb_callback(driver.osk_data))
|
||||||
|
g_settings.osk.cb_callback = NULL;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// refresh values in case the stack changed
|
// refresh values in case the stack changed
|
||||||
file_list_get_last(rgui->menu_stack, &dir, &menu_type);
|
file_list_get_last(rgui->menu_stack, &dir, &menu_type);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user