mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-23 19:40:15 +10:00
sys_patch_detect.py: Fix backlight detection
This commit is contained in:
@@ -50,7 +50,7 @@ class detect_root_patch:
|
|||||||
if self.constants.detected_os > non_metal_os:
|
if self.constants.detected_os > non_metal_os:
|
||||||
self.nvidia_legacy = True
|
self.nvidia_legacy = True
|
||||||
self.amfi_must_disable = True
|
self.amfi_must_disable = True
|
||||||
# self.legacy_keyboard_backlight = self.check_legacy_keyboard_backlight()
|
self.legacy_keyboard_backlight = self.check_legacy_keyboard_backlight()
|
||||||
elif gpu.arch == device_probe.NVIDIA.Archs.Kepler:
|
elif gpu.arch == device_probe.NVIDIA.Archs.Kepler:
|
||||||
if self.constants.detected_os > os_data.os_data.big_sur:
|
if self.constants.detected_os > os_data.os_data.big_sur:
|
||||||
# Kepler drivers were dropped with Beta 7
|
# Kepler drivers were dropped with Beta 7
|
||||||
|
|||||||
Reference in New Issue
Block a user