mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-21 03:04:31 +10:00
cpu_data.py: Adjust enums
This commit is contained in:
@@ -188,7 +188,7 @@ class macOSInstallerDownloadFrame(wx.Frame):
|
||||
model = self.constants.custom_model or self.constants.computer.real_model
|
||||
if model in smbios_data.smbios_dictionary:
|
||||
if app["OS"] >= os_data.os_data.ventura:
|
||||
if smbios_data.smbios_dictionary[model]["CPU Generation"] <= cpu_data.cpu_data.penryn or model in ["MacPro4,1", "MacPro5,1", "Xserve3,1"]:
|
||||
if smbios_data.smbios_dictionary[model]["CPU Generation"] <= cpu_data.CPUGen.penryn or model in ["MacPro4,1", "MacPro5,1", "Xserve3,1"]:
|
||||
if model.startswith("MacBook"):
|
||||
problems.append("Lack of internal Keyboard/Trackpad in macOS installer.")
|
||||
else:
|
||||
|
||||
@@ -257,7 +257,7 @@ class SettingsFrame(wx.Frame):
|
||||
"USB 3.0 expansion cards on systems",
|
||||
"without native support.",
|
||||
],
|
||||
"condition": not gui_support.CheckProperties(self.constants).host_has_cpu_gen(cpu_data.cpu_data.ivy_bridge) # Sandy Bridge and older do not natively support XHCI booting
|
||||
"condition": not gui_support.CheckProperties(self.constants).host_has_cpu_gen(cpu_data.CPUGen.ivy_bridge) # Sandy Bridge and older do not natively support XHCI booting
|
||||
},
|
||||
"NVMe Booting": {
|
||||
"type": "checkbox",
|
||||
@@ -270,7 +270,7 @@ class SettingsFrame(wx.Frame):
|
||||
"Note: Requires Firmware support",
|
||||
"for OpenCore to load from NVMe.",
|
||||
],
|
||||
"condition": not gui_support.CheckProperties(self.constants).host_has_cpu_gen(cpu_data.cpu_data.ivy_bridge) # Sandy Bridge and older do not natively support NVMe booting
|
||||
"condition": not gui_support.CheckProperties(self.constants).host_has_cpu_gen(cpu_data.CPUGen.ivy_bridge) # Sandy Bridge and older do not natively support NVMe booting
|
||||
},
|
||||
"wrap_around 2": {
|
||||
"type": "wrap_around",
|
||||
|
||||
Reference in New Issue
Block a user