From ceee294df7b32b524fe766b37c362db2847a7bdc Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Sun, 17 Dec 2023 16:41:54 +0100 Subject: [PATCH] Update XTLDR API --- sdk/xtdk/bltypes.h | 2 +- xtldr2/protocol.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/xtdk/bltypes.h b/sdk/xtdk/bltypes.h index 838a298..5574831 100644 --- a/sdk/xtdk/bltypes.h +++ b/sdk/xtdk/bltypes.h @@ -144,7 +144,7 @@ typedef struct _XTBL_LOADER_PROTOCOL } Memory; struct { - PBL_OPEN_XT_PROTOCOL Open; + PBL_OPEN_XT_PROTOCOL OpenProtocol; } Protocol; struct { diff --git a/xtldr2/protocol.c b/xtldr2/protocol.c index b1ebd77..f17349d 100644 --- a/xtldr2/protocol.c +++ b/xtldr2/protocol.c @@ -108,7 +108,7 @@ BlpRegisterXtLoaderProtocol() LdrProtocol.Memory.AllocatePool = BlMemoryAllocatePool; LdrProtocol.Memory.FreePages = BlMemoryFreePages; LdrProtocol.Memory.FreePool = BlMemoryFreePool; - LdrProtocol.Protocol.Open = BlOpenXtProtocol; + LdrProtocol.Protocol.OpenProtocol = BlOpenXtProtocol; LdrProtocol.Tui.DisplayErrorDialog = BlDisplayErrorDialog; LdrProtocol.Tui.DisplayInfoDialog = BlDisplayInfoDialog; LdrProtocol.Tui.DisplayProgressDialog = BlDisplayProgressDialog;