Skip to content

Commit

Permalink
amd_polaris.py: Fix MacBookPro13,3 patch detection logic
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed Sep 15, 2024
1 parent f6408a1 commit 38657fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# OpenCore Legacy Patcher changelog

## 2.1.0
- Fix MacBookPro13,3 listing 'Available patches' after having installed all applicable patches

## 2.0.0
- Set `AssociatedBundleIdentifiers` property in launch services as an array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def _model_specific_patches(self) -> dict:
# 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
Expand Down

0 comments on commit 38657fb

Please sign in to comment.