(Lakka) If HAVE_LAKKA is defined, display Shutdown and Reboot entries in RGUI

This commit is contained in:
Jean-André Santoni 2016-03-10 00:52:17 +07:00
parent 58ef1541c2
commit 1d69f55b37

View File

@ -3210,6 +3210,14 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
menu_displaylist_parse_settings(menu, info,
menu_hash_to_str(MENU_LABEL_QUIT_RETROARCH),
PARSE_ACTION, false);
#endif
#if defined(HAVE_LAKKA)
menu_displaylist_parse_settings(menu, info,
menu_hash_to_str(MENU_LABEL_SHUTDOWN),
PARSE_ACTION, false);
menu_displaylist_parse_settings(menu, info,
menu_hash_to_str(MENU_LABEL_REBOOT),
PARSE_ACTION, false);
#endif
info->need_push = true;
break;