Fix dgpu typo

This commit is contained in:
Mykola Grymalyuk
2021-06-18 09:51:59 -06:00
committed by GitHub
parent 12f9482d3d
commit df0c196a94

View File

@@ -352,7 +352,7 @@ class BuildOpenCore:
if self.model in ModelArray.DualGPUPatch:
print("- Adding dual GPU patch")
if not self.constants.custom_model and self.computer.dgpu and self.computer.dgpu.pci_path:
self.gfx0_path = self.computer.dgpi.pci_path
self.gfx0_path = self.computer.dgpu.pci_path
print(f"- Found GFX0 Device Path: {self.gfx0_path}")
else:
if not self.constants.custom_model:
@@ -407,7 +407,7 @@ class BuildOpenCore:
def backlight_path_detection(self):
if not self.constants.custom_model and self.computer.dgpu and self.computer.dgpu.pci_path:
self.gfx0_path = self.computer.dgpi.pci_path
self.gfx0_path = self.computer.dgpu.pci_path
print(f"- Found GFX0 Device Path: {self.gfx0_path}")
else:
if not self.constants.custom_model: