mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +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;
|
||||
}
|
||||
|
||||
#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
|
||||
file_list_get_last(rgui->menu_stack, &dir, &menu_type);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user