mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-18 05:34:42 +10:00
adding RX5500XT and Lexa MXM support
This commit is contained in:
@@ -2634,7 +2634,7 @@ class wx_python_gui:
|
||||
|
||||
# Dropdown: GPU Model
|
||||
self.gpu_dropdown = wx.Choice(self.frame_modal)
|
||||
for gpu in ["None", "Nvidia Kepler", "AMD GCN", "AMD Polaris"]:
|
||||
for gpu in ["None", "Nvidia Kepler", "AMD GCN", "AMD Polaris", "AMD Navi", "AMD Lexa"]:
|
||||
self.gpu_dropdown.Append(gpu)
|
||||
self.gpu_dropdown.SetSelection(0)
|
||||
self.gpu_dropdown.SetPosition(wx.Point(
|
||||
@@ -3065,6 +3065,10 @@ class wx_python_gui:
|
||||
self.constants.imac_model = "Polaris"
|
||||
elif "GCN" in gpu_choice:
|
||||
self.constants.imac_model = "Legacy GCN"
|
||||
elif "Lexa" in gpu_choice:
|
||||
self.constants.imac_model = "AMD Lexa"
|
||||
elif "Navi" in gpu_choice:
|
||||
self.constants.imac_model = "AMD Navi"
|
||||
else:
|
||||
raise Exception("Unknown GPU Model")
|
||||
elif "Nvidia" in gpu_choice:
|
||||
@@ -3759,4 +3763,4 @@ OpenCore Legacy Patcher by default knows the most ideal
|
||||
subprocess.run(["defaults", "write", "-g", "Moraea_RimBetaDisabled", "-bool", "true"])
|
||||
else:
|
||||
subprocess.run(["defaults", "write", "-g", "Moraea_RimBetaDisabled", "-bool", "false"])
|
||||
logging.info("Beta Rim Enabled:", event.IsChecked())
|
||||
logging.info("Beta Rim Enabled:", event.IsChecked())
|
||||
|
||||
Reference in New Issue
Block a user