From 81379dc857db53e85a0fb39e3c043ffec1252c58 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Tue, 1 Jun 2021 11:22:53 -0600 Subject: [PATCH] Fix GPU Switching on MacBookPro6,x --- CHANGELOG.md | 1 + Resources/Build.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 135c7380c..b5f746285 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Allow custom SMBIOS overriding - Fix incorrectly setting CPU override for non-Minimal SMBIOS spoofs - Support Minimal SMBIOS spoofing on El Capitan era Macs +- Fix GPU Switching on MacBookPro6,x ## 0.1.5 - Fix crashing when Wireless module not present diff --git a/Resources/Build.py b/Resources/Build.py index 3ba07925f..de52b5b30 100644 --- a/Resources/Build.py +++ b/Resources/Build.py @@ -131,7 +131,7 @@ class BuildOpenCore: ("Lilu.kext", self.constants.lilu_version, self.constants.lilu_path, lambda: True), ("WhateverGreen.kext", self.constants.whatevergreen_version, self.constants.whatevergreen_path, lambda: self.constants.allow_oc_everywhere is False), ("RestrictEvents.kext", self.constants.restrictevents_version, self.constants.restrictevents_path, lambda: self.model in ModelArray.MacPro71), - ("RestrictEvents.kext", self.constants.restrictevents_mbp_version, self.constants.restrictevents_mbp_path, lambda: self.model == "MacBookPro9,1"), + ("RestrictEvents.kext", self.constants.restrictevents_mbp_version, self.constants.restrictevents_mbp_path, lambda: self.model in ["MacBookPro6,1", "MacBookPro6,2", "MacBookPro9,1"]), ("NightShiftEnabler.kext", self.constants.nightshift_version, self.constants.nightshift_path, lambda: self.model not in ModelArray.NightShiftExclude and self.constants.allow_oc_everywhere is False and self.constants.serial_settings == "Minimal"), ("SMC-Spoof.kext", self.constants.smcspoof_version, self.constants.smcspoof_path, lambda: self.constants.allow_oc_everywhere is False), # CPU patches