mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
Add Windows UEFI Audio support
Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/133
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
- Fix accidentally disabling non-existent iGPU in iMac11,2
|
- Fix accidentally disabling non-existent iGPU in iMac11,2
|
||||||
- Remove ACPI Patching requirement for Minimal SMBIOS setups
|
- Remove ACPI Patching requirement for Minimal SMBIOS setups
|
||||||
- Probe hardware for Backlight pathing on iMac10,1, iMac11,x and iMac12,x with Metal GPUs
|
- Probe hardware for Backlight pathing on iMac10,1, iMac11,x and iMac12,x with Metal GPUs
|
||||||
|
- Add Windows UEFI Audio support to Sandy and Ivy Bridge Macs
|
||||||
|
|
||||||
## 0.1.1
|
## 0.1.1
|
||||||
- Fix iMac11,3 GFX0 pathing
|
- Fix iMac11,3 GFX0 pathing
|
||||||
|
|||||||
+6
-4
@@ -243,10 +243,12 @@ class BuildOpenCore:
|
|||||||
self.get_item_by_kv(self.config["ACPI"]["Add"], "Path", "SSDT-CPBG.aml")["Enabled"] = True
|
self.get_item_by_kv(self.config["ACPI"]["Add"], "Path", "SSDT-CPBG.aml")["Enabled"] = True
|
||||||
shutil.copy(self.constants.pci_ssdt_path, self.constants.acpi_path)
|
shutil.copy(self.constants.pci_ssdt_path, self.constants.acpi_path)
|
||||||
|
|
||||||
#if self.model in ModelArray.windows_audio:
|
if self.model in ModelArray.windows_audio:
|
||||||
# print("- Adding SSDT-PCI.aml")
|
# Based on: https://egpu.io/forums/pc-setup/fix-dsdt-override-to-correct-error-12/
|
||||||
# self.get_item_by_kv(self.config["ACPI"]["Add"], "Path", "SSDT-PCI.aml")["Enabled"] = True
|
print("- Enabling Windows 10 UEFI Audio support")
|
||||||
# shutil.copy(self.constants.windows_ssdt_path, self.constants.acpi_path)
|
self.get_item_by_kv(self.config["ACPI"]["Add"], "Path", "SSDT-PCI.aml")["Enabled"] = True
|
||||||
|
self.get_item_by_kv(self.config["ACPI"]["Patch"], "Comment", "BUF0 to BUF1")["Enabled"] = True
|
||||||
|
shutil.copy(self.constants.windows_ssdt_path, self.constants.acpi_path)
|
||||||
|
|
||||||
# USB Map
|
# USB Map
|
||||||
usb_map_path = Path(self.constants.plist_folder_path) / Path("AppleUSBMaps/Info.plist")
|
usb_map_path = Path(self.constants.plist_folder_path) / Path("AppleUSBMaps/Info.plist")
|
||||||
|
|||||||
@@ -113,6 +113,8 @@ class Constants:
|
|||||||
# ACPI
|
# ACPI
|
||||||
@property
|
@property
|
||||||
def pci_ssdt_path(self): return self.payload_path / Path("ACPI/SSDT-CPBG.aml")
|
def pci_ssdt_path(self): return self.payload_path / Path("ACPI/SSDT-CPBG.aml")
|
||||||
|
@property
|
||||||
|
def windows_ssdt_path(self): return self.payload_path / Path("ACPI/SSDT-PCI.aml")
|
||||||
|
|
||||||
# Drivers
|
# Drivers
|
||||||
@property
|
@property
|
||||||
|
|||||||
Binary file not shown.
@@ -138,7 +138,7 @@
|
|||||||
<key>Enabled</key>
|
<key>Enabled</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>Find</key>
|
<key>Find</key>
|
||||||
<data>CEJVRjA=</data>
|
<data>QlVGMA==</data>
|
||||||
<key>Limit</key>
|
<key>Limit</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>Mask</key>
|
<key>Mask</key>
|
||||||
@@ -146,7 +146,7 @@
|
|||||||
<key>OemTableId</key>
|
<key>OemTableId</key>
|
||||||
<data></data>
|
<data></data>
|
||||||
<key>Replace</key>
|
<key>Replace</key>
|
||||||
<data>CEJVRjE=</data>
|
<data>QlVGMQ==</data>
|
||||||
<key>ReplaceMask</key>
|
<key>ReplaceMask</key>
|
||||||
<data></data>
|
<data></data>
|
||||||
<key>Skip</key>
|
<key>Skip</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user