mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-17 13:22:54 +10:00
Strip Content Cache references
Setting no longer required with new RestrictEvents setup
This commit is contained in:
@@ -119,6 +119,9 @@ class BuildMiscellaneous:
|
||||
|
||||
re_patch_args = []
|
||||
|
||||
# Alternative approach to the kern.hv_vmm_present patch
|
||||
# Dynamically sets the property to 1 if software update/installer is detected
|
||||
# Always enabled in installers/recovery environments
|
||||
if self.constants.allow_oc_everywhere is False and self.constants.serial_settings == "None":
|
||||
re_patch_args.append("sbvmm")
|
||||
|
||||
|
||||
@@ -215,7 +215,6 @@ class Constants:
|
||||
self.software_demux: bool = False # Enable Software Demux patch set
|
||||
self.force_vmm: bool = False # Force VMM patch
|
||||
self.disable_connectdrivers: bool = False # Disable ConnectDrivers (hibernation)
|
||||
self.set_content_caching: bool = False # Set Content Caching
|
||||
self.set_vmm_cpuid: bool = False # Set VMM bit inside CPUID
|
||||
self.disable_cat_colorsync: bool = False # Disable the ColorSync patch to regain Display Profiles
|
||||
self.set_alc_usage: bool = True # Set AppleALC usage
|
||||
|
||||
@@ -56,11 +56,6 @@ class GenerateDefaults:
|
||||
General probe for data
|
||||
"""
|
||||
|
||||
if "Book" in self.model:
|
||||
self.constants.set_content_caching = False
|
||||
else:
|
||||
self.constants.set_content_caching = True
|
||||
|
||||
if self.model in ["MacBookPro8,2", "MacBookPro8,3"]:
|
||||
# Users disabling TS2 most likely have a faulty dGPU
|
||||
# users can override this in settings
|
||||
|
||||
@@ -275,14 +275,6 @@ class SettingsFrame(wx.Frame):
|
||||
"wrap_around 2": {
|
||||
"type": "wrap_around",
|
||||
},
|
||||
"Content Caching": {
|
||||
"type": "checkbox",
|
||||
"value": self.constants.set_content_caching,
|
||||
"variable": "set_content_caching",
|
||||
"description": [
|
||||
# "Enable Content Caching.",
|
||||
],
|
||||
},
|
||||
"APFS Trim": {
|
||||
"type": "checkbox",
|
||||
"value": self.constants.apfs_trim_timeout,
|
||||
@@ -1275,4 +1267,4 @@ Hardware Information:
|
||||
|
||||
|
||||
def on_test_exception(self, event: wx.Event) -> None:
|
||||
raise Exception("Test Exception")
|
||||
raise Exception("Test Exception")
|
||||
|
||||
Reference in New Issue
Block a user