mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 14:40:52 +10:00
sys_patch_detect.py: Fix any() invocation
This commit is contained in:
@@ -231,13 +231,13 @@ class DetectRootPatch:
|
|||||||
|
|
||||||
|
|
||||||
if self.constants.detected_os >= os_data.os_data.sonoma:
|
if self.constants.detected_os >= os_data.os_data.sonoma:
|
||||||
if any(
|
if any([
|
||||||
self.kepler_gpu,
|
self.kepler_gpu,
|
||||||
self.ivy_gpu,
|
self.ivy_gpu,
|
||||||
self.haswell_gpu,
|
self.haswell_gpu,
|
||||||
self.broadwell_gpu,
|
self.broadwell_gpu,
|
||||||
self.skylake_gpu,
|
self.skylake_gpu,
|
||||||
):
|
]):
|
||||||
# All KDKless GPUs require a KDK in Sonoma due to IOSurface downgrade
|
# All KDKless GPUs require a KDK in Sonoma due to IOSurface downgrade
|
||||||
self.requires_root_kc = True
|
self.requires_root_kc = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user