mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 03:50:14 +10:00
Fix typo
This commit is contained in:
@@ -409,7 +409,7 @@ class BuildOpenCore:
|
|||||||
dgpu_vendor,dgpu_device,dgpu_acpi = DeviceProbe.pci_probe().gpu_probe("GFX0")
|
dgpu_vendor,dgpu_device,dgpu_acpi = DeviceProbe.pci_probe().gpu_probe("GFX0")
|
||||||
if dgpu_vendor:
|
if dgpu_vendor:
|
||||||
print(f"- Detected dGPU: {dgpu_vendor}:{dgpu_device}")
|
print(f"- Detected dGPU: {dgpu_vendor}:{dgpu_device}")
|
||||||
if dgpu_vendor == self.constants.pci_amd_ati and dgpu_device in (dgpu_device in PCIIDArray.amd_ids().polaris_ids or dgpu_device in PCIIDArray.amd_ids().vega_ids or dgpu_device in PCIIDArray.amd_ids().navi_ids or dgpu_device in PCIIDArray.amd_ids().legacy_gcn_ids):
|
if dgpu_vendor == self.constants.pci_amd_ati and (dgpu_device in PCIIDArray.amd_ids().polaris_ids or dgpu_device in PCIIDArray.amd_ids().vega_ids or dgpu_device in PCIIDArray.amd_ids().navi_ids or dgpu_device in PCIIDArray.amd_ids().legacy_gcn_ids):
|
||||||
backlight_path_detection(self)
|
backlight_path_detection(self)
|
||||||
amd_patch(self, self.gfx0_path)
|
amd_patch(self, self.gfx0_path)
|
||||||
elif dgpu_vendor == self.constants.pci_nvidia and dgpu_device in PCIIDArray.nvidia_ids().kepler_ids:
|
elif dgpu_vendor == self.constants.pci_nvidia and dgpu_device in PCIIDArray.nvidia_ids().kepler_ids:
|
||||||
|
|||||||
Reference in New Issue
Block a user