mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
sys_patch: Standardize patch names
This commit is contained in:
@@ -87,7 +87,7 @@ class AMDPolaris(BaseHardware):
|
|||||||
if self._xnu_major < os_data.sonoma.value:
|
if self._xnu_major < os_data.sonoma.value:
|
||||||
return {}
|
return {}
|
||||||
return {
|
return {
|
||||||
"AMD Legacy Polaris (2017)": {
|
"AMD Polaris": {
|
||||||
PatchType.INSTALL_SYSTEM_VOLUME: {
|
PatchType.INSTALL_SYSTEM_VOLUME: {
|
||||||
"/System/Library/Extensions": {
|
"/System/Library/Extensions": {
|
||||||
"AMD9500Controller.kext": "13.5.2",
|
"AMD9500Controller.kext": "13.5.2",
|
||||||
@@ -102,7 +102,7 @@ class AMDPolaris(BaseHardware):
|
|||||||
# Assuming non-AVX2.0 CPUs
|
# Assuming non-AVX2.0 CPUs
|
||||||
# Note missing framebuffers are not restored (ex. 'ATY,Berbice')
|
# Note missing framebuffers are not restored (ex. 'ATY,Berbice')
|
||||||
return {
|
return {
|
||||||
"AMD Legacy Polaris": {
|
"AMD Polaris": {
|
||||||
PatchType.INSTALL_SYSTEM_VOLUME: {
|
PatchType.INSTALL_SYSTEM_VOLUME: {
|
||||||
"/System/Library/Extensions": {
|
"/System/Library/Extensions": {
|
||||||
"AMDRadeonX4000.kext": self._resolve_monterey_framebuffers(),
|
"AMDRadeonX4000.kext": self._resolve_monterey_framebuffers(),
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ class AMDVega(BaseHardware):
|
|||||||
Model specific patches
|
Model specific patches
|
||||||
"""
|
"""
|
||||||
return {
|
return {
|
||||||
"AMD Legacy Vega": {
|
"AMD Vega": {
|
||||||
PatchType.INSTALL_SYSTEM_VOLUME: {
|
PatchType.INSTALL_SYSTEM_VOLUME: {
|
||||||
"/System/Library/Extensions": {
|
"/System/Library/Extensions": {
|
||||||
"AMDRadeonX5000.kext": self._resolve_monterey_framebuffers(),
|
"AMDRadeonX5000.kext": self._resolve_monterey_framebuffers(),
|
||||||
@@ -104,7 +104,7 @@ class AMDVega(BaseHardware):
|
|||||||
return {}
|
return {}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"AMD Legacy Vega Extended": {
|
"AMD Vega Extended": {
|
||||||
PatchType.INSTALL_SYSTEM_VOLUME: {
|
PatchType.INSTALL_SYSTEM_VOLUME: {
|
||||||
"/System/Library/Extensions": {
|
"/System/Library/Extensions": {
|
||||||
"AMDRadeonX5000HWServices.kext": "12.5",
|
"AMDRadeonX5000HWServices.kext": "12.5",
|
||||||
|
|||||||
@@ -321,7 +321,7 @@ class SysPatchDisplayFrame(wx.Frame):
|
|||||||
if (not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True):
|
if (not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True):
|
||||||
# Patches should share the same name as the plist key
|
# Patches should share the same name as the plist key
|
||||||
# See sys_patch/patchsets/base.py for more info
|
# See sys_patch/patchsets/base.py for more info
|
||||||
if patch not in oclp_plist_data:
|
if patch.split(":")[1] not in oclp_plist_data:
|
||||||
logging.info(f"- Patch {patch} not installed")
|
logging.info(f"- Patch {patch} not installed")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
@@ -460,7 +460,7 @@ class SysPatchStartFrame(wx.Frame):
|
|||||||
if (not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True):
|
if (not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True):
|
||||||
# Patches should share the same name as the plist key
|
# Patches should share the same name as the plist key
|
||||||
# See sys_patch/patchsets/base.py for more info
|
# See sys_patch/patchsets/base.py for more info
|
||||||
if patch not in oclp_plist_data:
|
if patch.split(":")[1] not in oclp_plist_data:
|
||||||
logging.info(f"- Patch {patch} not installed")
|
logging.info(f"- Patch {patch} not installed")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user