(Lakka) SD_FLAG_LAKKA_ADVANCED should only be honored by Lakka

This commit is contained in:
twinaphex 2019-05-05 21:21:43 +02:00
parent 18fd85de24
commit aaff9d6d55

View File

@ -1576,8 +1576,12 @@ static int menu_displaylist_parse_settings_internal_enum(
if (!show_advanced_settings) if (!show_advanced_settings)
{ {
uint64_t flags = setting->flags; uint64_t flags = setting->flags;
if ((flags & SD_FLAG_ADVANCED) || (flags & SD_FLAG_LAKKA_ADVANCED)) if (flags & SD_FLAG_ADVANCED)
goto end; goto end;
#ifdef HAVE_LAKKA
if (flags & SD_FLAG_LAKKA_ADVANCED)
goto end;
#endif
} }
for (;;) for (;;)