From 88a2bc641791c56d56c98d75972a3ed4520678d4 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Sat, 2 Nov 2024 23:12:05 +0700 Subject: [PATCH] Remove redundant code causing errors with SetupVirtualMap always disabled --- Scripts/config_prodigy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/config_prodigy.py b/Scripts/config_prodigy.py index 8f873a3..0a10a8e 100644 --- a/Scripts/config_prodigy.py +++ b/Scripts/config_prodigy.py @@ -509,7 +509,7 @@ class ConfigProdigy: not self.utils.contains_any(cpu_data.IntelCPUGenerations, hardware_report.get("CPU").get("Codename"), end=14) is None config["Booter"]["Quirks"]["RebuildAppleMemoryMap"] = not config["Booter"]["Quirks"]["EnableWriteUnprotector"] config["Booter"]["Quirks"]["ResizeAppleGpuBars"] = 0 if any(gpu_props.get("Resizable BAR", "Disabled") == "Enabled" for gpu_name, gpu_props in hardware_report.get("GPU", {}).items()) else -1 - config["Booter"]["Quirks"]["SetupVirtualMap"] = not (chipset_data.AMDChipsets, hardware_report.get("Motherboard").get("Chipset") == "TRX40" or \ + config["Booter"]["Quirks"]["SetupVirtualMap"] = not (hardware_report.get("Motherboard").get("Chipset") == "TRX40" or \ "ASUS" in hardware_report.get("Motherboard").get("Name") and self.is_intel_hedt_cpu(hardware_report.get("CPU").get("Codename")) and config["Booter"]["Quirks"]["DevirtualiseMmio"]) config["Booter"]["Quirks"]["SyncRuntimePermissions"] = config["Booter"]["Quirks"]["RebuildAppleMemoryMap"]