mirror of
https://github.com/libretro/RetroArch
synced 2025-03-16 07:21:03 +00:00
Added fix for ai service overlay still showing when opening the menu.
This commit is contained in:
parent
4d6555d58b
commit
a247ee14cd
@ -4852,6 +4852,14 @@ bool command_event(enum event_command cmd, void *data)
|
||||
case CMD_EVENT_OVERLAY_DEINIT:
|
||||
#ifdef HAVE_OVERLAY
|
||||
retroarch_overlay_deinit();
|
||||
#endif
|
||||
#ifdef HAVE_MENU_WIDGETS
|
||||
if (menu_widgets_ai_service_overlay_get_state() != 0)
|
||||
{
|
||||
/* Because the overlay is a menu widget, it's going to be written
|
||||
* over the menu, so we unset it here. */
|
||||
menu_widgets_ai_service_overlay_unload();
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case CMD_EVENT_OVERLAY_INIT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user