mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 20:10:14 +10:00
amd_polaris.py: Fix MacBookPro13,3 patch detection logic
This commit is contained in:
@@ -78,7 +78,9 @@ class AMDPolaris(BaseHardware):
|
||||
# For MacBookPro13,3 missing framebuffers (ex. 'ATY,Berbice')
|
||||
if self._computer.real_model in ["MacBookPro13,3"]:
|
||||
# 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)
|
||||
# iMac18,2/3 still function with the generic framebuffer, however if issues arise
|
||||
|
||||
Reference in New Issue
Block a user