Merge pull request #2777 from lakkatv/master

(Lakka) If HAVE_LAKKA is defined, display Shutdown and Reboot entries…
This commit is contained in:
Twinaphex 2016-03-09 19:10:31 +01:00
commit 809398b740

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;