From 638e4494d00ebe411e13ae19493b5f8e5742ffc0 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Fri, 31 Mar 2023 17:47:18 +0200 Subject: [PATCH] fixup! m1n1.fw.dcp.ipc: Add support for the macOS 13.2 firmware Signed-off-by: Janne Grunau --- proxyclient/m1n1/fw/dcp/ipc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxyclient/m1n1/fw/dcp/ipc.py b/proxyclient/m1n1/fw/dcp/ipc.py index 20880c0e..eb55fc7f 100644 --- a/proxyclient/m1n1/fw/dcp/ipc.py +++ b/proxyclient/m1n1/fw/dcp/ipc.py @@ -422,7 +422,7 @@ BufferDescriptor = uint64_t SwapCompleteData = Bytes(0x12) SwapInfoBlob = Struct( "unk" / Bytes(0x6c4), - Ver("V >= V13_2", "unk_13_2" / Bytes(0x1)), + Ver("V >= V13_2", "unk_13_2" / Bytes(0x10)), ) SWAP_SURFACES = 4 @@ -783,8 +783,8 @@ class IOMobileFramebufferAP(IPCObject): A465 = flush_supportsPower A466 = abort_swaps_dcp A469 = update_dfb - A470 = setPowerState - A471 = isKeepOnScreen + A471 = setPowerState + A472 = isKeepOnScreen # FW version dependent callbacks if Ver.check("V < V13_2"):