mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-19 13:46:05 +10:00
amd_polaris.py: Fix MacBookPro13,3 patch detection logic
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# OpenCore Legacy Patcher changelog
|
# OpenCore Legacy Patcher changelog
|
||||||
|
|
||||||
## 2.1.0
|
## 2.1.0
|
||||||
|
- Fix MacBookPro13,3 listing 'Available patches' after having installed all applicable patches
|
||||||
|
|
||||||
## 2.0.0
|
## 2.0.0
|
||||||
- Set `AssociatedBundleIdentifiers` property in launch services as an array
|
- Set `AssociatedBundleIdentifiers` property in launch services as an array
|
||||||
|
|||||||
@@ -78,7 +78,9 @@ class AMDPolaris(BaseHardware):
|
|||||||
# For MacBookPro13,3 missing framebuffers (ex. 'ATY,Berbice')
|
# For MacBookPro13,3 missing framebuffers (ex. 'ATY,Berbice')
|
||||||
if self._computer.real_model in ["MacBookPro13,3"]:
|
if self._computer.real_model in ["MacBookPro13,3"]:
|
||||||
# Since dropped at the same time, we can use the same patches
|
# Since dropped at the same time, we can use the same patches
|
||||||
return AMDLegacyGCN(self._xnu_major, self._xnu_minor, self._os_build, self._constants)._model_specific_patches()
|
result = AMDLegacyGCN(self._xnu_major, self._xnu_minor, self._os_build, self._constants)._model_specific_patches()
|
||||||
|
# Have to rename 'AMD Legacy GCN' to 'AMD Polaris' for model detection
|
||||||
|
return {"AMD Polaris": result["AMD Legacy GCN"]}
|
||||||
|
|
||||||
# For MacBookPro14,3 (and other AMD dGPUs that no longer function in Sonoma)
|
# For MacBookPro14,3 (and other AMD dGPUs that no longer function in Sonoma)
|
||||||
# iMac18,2/3 still function with the generic framebuffer, however if issues arise
|
# iMac18,2/3 still function with the generic framebuffer, however if issues arise
|
||||||
|
|||||||
Reference in New Issue
Block a user