diff --git a/opencore_legacy_patcher/sys_patch/sys_patch_helpers.py b/opencore_legacy_patcher/sys_patch/sys_patch_helpers.py index a714c03d1..bff38f959 100644 --- a/opencore_legacy_patcher/sys_patch/sys_patch_helpers.py +++ b/opencore_legacy_patcher/sys_patch/sys_patch_helpers.py @@ -262,6 +262,10 @@ class SysPatchHelpers: return BASE_VERSION = "32023" GPU_VERSION = f"{BASE_VERSION}.26" + else: + # Fall back for newer versions + BASE_VERSION = "32023" + GPU_VERSION = f"{BASE_VERSION}.26" LIBRARY_DIR = f"{mount_point}/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/{BASE_VERSION}/Libraries/lib/clang" DEST_DIR = f"{LIBRARY_DIR}/{GPU_VERSION}"