mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
Work around AppleHDA linking issues
This commit is contained in:
@@ -1017,3 +1017,11 @@ AddVolumeControl = [
|
||||
"AppleHDA.kext",
|
||||
"IOAudioFamily.kext",
|
||||
]
|
||||
|
||||
DeleteVolumeControl = [
|
||||
"AppleVirtIO.kext",
|
||||
"AppleVirtualGraphics.kext",
|
||||
"AppleVirtualPlatform.kext",
|
||||
"ApplePVPanic.kext",
|
||||
"AppleVirtIOStorage.kext",
|
||||
]
|
||||
@@ -206,6 +206,7 @@ class PatchSysVolume:
|
||||
|
||||
if self.model in ["iMac7,1", "iMac8,1"]:
|
||||
print("- Fixing Volume Control Support")
|
||||
self.delete_old_binaries(ModelArray.DeleteVolumeControl)
|
||||
self.add_new_binaries(ModelArray.AddVolumeControl, self.constants.audio_path)
|
||||
rebuild_required = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user