From 52f18bca28f3e954fe0d8aed2507f2bcdbb624bf Mon Sep 17 00:00:00 2001 From: Fisherman166 Date: Thu, 28 May 2020 09:13:19 -0700 Subject: [PATCH] Add size offsets for the KSEMAPHORE and ERWLOCK structs. --- import/OpenXDK/include/xboxkrnl/xboxkrnl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/import/OpenXDK/include/xboxkrnl/xboxkrnl.h b/import/OpenXDK/include/xboxkrnl/xboxkrnl.h index 8877319cc..da9c774eb 100644 --- a/import/OpenXDK/include/xboxkrnl/xboxkrnl.h +++ b/import/OpenXDK/include/xboxkrnl/xboxkrnl.h @@ -1281,7 +1281,7 @@ typedef struct _KSEMAPHORE { DISPATCHER_HEADER Header; // 0x00 LONG Limit; // 0x10 -} +} // 0x14 KSEMAPHORE, *PKSEMAPHORE, *RESTRICTED_POINTER PRKSEMAPHORE; // ****************************************************************** @@ -1316,7 +1316,7 @@ typedef struct _ERWLOCK ULONG ReadersEntryCount; // 0x0C KEVENT WriterEvent; // 0x10 KSEMAPHORE ReaderSemaphore; // 0x20 -} +} // 0x34 ERWLOCK, *PERWLOCK; // ******************************************************************