Add user-configurable CPUFriend

Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/199
This commit is contained in:
Mykola Grymalyuk
2021-05-08 14:04:01 -06:00
parent 9b89b62219
commit 2a9f94ac99
6 changed files with 31 additions and 7 deletions

View File

@@ -115,6 +115,7 @@ system_profiler SPHardwareDataType | grep 'Model Identifier'
[f"Assume Legacy GPU:\t\t\t{self.constants.assume_legacy}", CliMenu.MenuOptions(self.constants.custom_model or self.current_model, self.constants).force_accel_setting],
[f"Allow OpenCore on native Models:\t{self.constants.allow_oc_everywhere}", CliMenu.MenuOptions(self.constants.custom_model or self.current_model, self.constants).allow_native_models],
[f"Download more RAM:\t\t\t{self.constants.download_ram}", CliMenu.MenuOptions(self.constants.custom_model or self.current_model, self.constants).download_more_ram_dot_com],
[f"Disable CPU Friend:\t\t{self.constants.disallow_cpufriend}", CliMenu.MenuOptions(self.constants.custom_model or self.current_model, self.constants).disable_cpufriend],
[f"Set Custom name {self.constants.custom_cpu_model_value}", CliMenu.MenuOptions(self.constants.custom_model or self.current_model, self.constants).custom_cpu],
]