mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
build.py: Resolve check_firewire() bug
Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/842
This commit is contained in:
+4
-2
@@ -481,11 +481,13 @@ class BuildOpenCore:
|
|||||||
def check_firewire(model):
|
def check_firewire(model):
|
||||||
# MacBooks never supported FireWire
|
# MacBooks never supported FireWire
|
||||||
# Pre-Thunderbolt MacBook Airs as well
|
# Pre-Thunderbolt MacBook Airs as well
|
||||||
if model.startswith("MacBook"):
|
if model.startswith("MacBookPro"):
|
||||||
return False
|
return True
|
||||||
elif model.startswith("MacBookAir"):
|
elif model.startswith("MacBookAir"):
|
||||||
if smbios_data.smbios_dictionary[self.model]["CPU Generation"] < cpu_data.cpu_data.sandy_bridge.value:
|
if smbios_data.smbios_dictionary[self.model]["CPU Generation"] < cpu_data.cpu_data.sandy_bridge.value:
|
||||||
return False
|
return False
|
||||||
|
elif model.startswith("MacBook"):
|
||||||
|
return False
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user