Add SSDT spoof GPU ID for some GPU IDs not available in macOS

This commit is contained in:
Hoang Hong Quan
2024-07-29 10:05:38 +07:00
parent 32da5452b0
commit 12171978d8
5 changed files with 130 additions and 18 deletions
+2 -2
View File
@@ -294,7 +294,7 @@ class ConfigProdigy:
hardware.get("CPU Manufacturer"),
hardware.get("CPU Codename"),
hardware["CPU Cores"],
hardware["Discrete GPU Manufacturer"] or hardware["Integrated GPU Manufacturer"],
hardware["Discrete GPU"].get("Manufacturer", "") or hardware["Integrated GPU"].get("Manufacturer", ""),
efi_option.get("Synchronize the TSC"),
efi_option.get("macOS Version"),
)
@@ -333,7 +333,7 @@ class ConfigProdigy:
hardware.get("Platform"),
hardware.get("CPU Manufacturer"),
hardware.get("CPU Codename"),
hardware.get("Discrete GPU Codename"),
hardware.get("Discrete GPU").get("GPU Codename", ""),
hardware.get("Integrated GPU Name"),
hardware.get("Ethernet (PCI)"),
hardware.get("Codec ID"),