This commit is contained in:
twinaphex 2018-06-20 16:29:14 +02:00
parent 8232265c8f
commit b10f1faf7a
2 changed files with 2 additions and 2 deletions

View File

@ -5511,12 +5511,10 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
case DISPLAYLIST_POWER_MANAGEMENT_SETTINGS_LIST:
menu_entries_ctl(MENU_ENTRIES_CTL_CLEAR, info->list);
#ifdef ANDROID
if (menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_SUSTAINED_PERFORMANCE_MODE,
PARSE_ONLY_BOOL, false) == 0)
count++;
#endif
if (count == 0)
menu_entries_append_enum(info->list,

View File

@ -6381,6 +6381,7 @@ static bool setting_append_list(
START_SUB_GROUP(list, list_info, "State", &group_info, &subgroup_info, parent_group);
#ifdef ANDROID
CONFIG_BOOL(
list, list_info,
&settings->bools.sustained_performance_mode,
@ -6395,6 +6396,7 @@ static bool setting_append_list(
general_write_handler,
general_read_handler,
SD_FLAG_CMD_APPLY_AUTO);
#endif
END_SUB_GROUP(list, list_info, parent_group);
END_GROUP(list, list_info, parent_group);