From 8c0bcf50c386c28bc4f4f32ce731f62088d9c33f Mon Sep 17 00:00:00 2001 From: Smiril Date: Sun, 9 Apr 2023 20:44:28 +0200 Subject: [PATCH] Update from Master to Main update "kIOMasterPortDefault" to "kIOMainPortDefault" fix for MacOS 13.3 --- OpenCore Configurator/ViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCore Configurator/ViewController.swift b/OpenCore Configurator/ViewController.swift index ce4ff38..98729fe 100644 --- a/OpenCore Configurator/ViewController.swift +++ b/OpenCore Configurator/ViewController.swift @@ -329,7 +329,7 @@ class ViewController: NSViewController { // I stole this from MaciASL // TODO: write tables to file (xxd -r -p) and show differences - let expert = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("AppleACPIPlatformExpert")) + let expert = IOServiceGetMatchingService(kIOMainPortDefault, IOServiceMatching("AppleACPIPlatformExpert")) acpiTables = IORegistryEntryCreateCFProperty(expert, ("ACPI Tables" as CFString), kCFAllocatorDefault, 0)?.takeRetainedValue() as! NSMutableDictionary