From ce6f65de1ff761f83fba91db8506d79d75db9531 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sun, 8 Sep 2024 19:37:24 -0600 Subject: [PATCH] metal_3802.py: Set PhotosUICore.framework correctly --- .../sys_patch/patchsets/shared_patches/metal_3802.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opencore_legacy_patcher/sys_patch/patchsets/shared_patches/metal_3802.py b/opencore_legacy_patcher/sys_patch/patchsets/shared_patches/metal_3802.py index b3a43ffa1e..fcbdb1c9bb 100644 --- a/opencore_legacy_patcher/sys_patch/patchsets/shared_patches/metal_3802.py +++ b/opencore_legacy_patcher/sys_patch/patchsets/shared_patches/metal_3802.py @@ -75,6 +75,9 @@ def _patches_metal_3802_common_extended(self) -> dict: **({ "MTLCompiler.framework": "14.2 Beta 1" } if self._xnu_float >= self.macOS_14_2 else {}), **({ "GPUCompiler.framework": "14.2 Beta 1" } if self._xnu_float >= self.macOS_14_2 else {}), }, + "/System/Library/PrivateFrameworks/PhotosUICore.framework/Versions/A/Resources": { + **({ "default.metallib": "14.6.1" } if self._xnu_major == os_data.sonoma.value else {}), + }, } } } @@ -119,9 +122,6 @@ def _patches_metal_3802_metallibs(self) -> dict: "CIPortraitBlurV3.metallib": "14.6.1", "ci_stdlib.metallib": "14.6.1", }, - "/System/Library/PrivateFrameworks/PhotosUICore.framework/Versions/A/Resources": { - "default.metallib": "14.6.1", - }, "/System/Library/PrivateFrameworks/Tungsten.framework/Versions/A/Resources": { "default.metallib": "15.0 Beta 7", },