Hide Network Settings and Cheevos screens if HAVE_NETWORKING

and/or HAVE_CHEEVOS are not defined
This commit is contained in:
twinaphex 2020-07-01 21:10:19 +02:00
parent 87b9c2a367
commit d6bd12277f

View File

@ -7619,11 +7619,15 @@ unsigned menu_displaylist_build_list(
{MENU_ENUM_LABEL_AI_SERVICE_SETTINGS, PARSE_ACTION, true},
{MENU_ENUM_LABEL_ACCESSIBILITY_SETTINGS, PARSE_ACTION, true},
{MENU_ENUM_LABEL_POWER_MANAGEMENT_SETTINGS,PARSE_ACTION, true},
#ifdef HAVE_CHEEVOS
{MENU_ENUM_LABEL_RETRO_ACHIEVEMENTS_SETTINGS,PARSE_ACTION, true},
#endif
{MENU_ENUM_LABEL_BLUETOOTH_SETTINGS,PARSE_ACTION, true},
#ifdef HAVE_NETWORKING
{MENU_ENUM_LABEL_WIFI_SETTINGS,PARSE_ACTION, true},
{MENU_ENUM_LABEL_NETWORK_SETTINGS,PARSE_ACTION, true},
{MENU_ENUM_LABEL_NETPLAY_LAN_SCAN_SETTINGS,PARSE_ACTION, true},
#endif
{MENU_ENUM_LABEL_LAKKA_SERVICES,PARSE_ACTION, true},
{MENU_ENUM_LABEL_PLAYLIST_SETTINGS,PARSE_ACTION, true},
{MENU_ENUM_LABEL_USER_SETTINGS,PARSE_ACTION, true},