From bb2d4344b12e53aa261318b2408d7839c515b382 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 11 May 2024 12:17:03 -0400 Subject: [PATCH] Add size asserts --- LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp | 1 + LEGO1/lego/legoomni/src/paths/legopathstruct.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp index 6db7c744..3a2cf6ae 100644 --- a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp +++ b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp @@ -6,6 +6,7 @@ #include "mxtimer.h" DECOMP_SIZE_ASSERT(LegoPathController, 0x40) +DECOMP_SIZE_ASSERT(LegoPathCtrlEdge, 0x40) // FUNCTION: LEGO1 0x10044f40 // FUNCTION: BETA10 0x100b6860 diff --git a/LEGO1/lego/legoomni/src/paths/legopathstruct.cpp b/LEGO1/lego/legoomni/src/paths/legopathstruct.cpp index b6b285fb..2cbf51c4 100644 --- a/LEGO1/lego/legoomni/src/paths/legopathstruct.cpp +++ b/LEGO1/lego/legoomni/src/paths/legopathstruct.cpp @@ -1,5 +1,8 @@ #include "legopathstruct.h" +DECOMP_SIZE_ASSERT(LegoPathStructBase, 0x0c) +DECOMP_SIZE_ASSERT(LegoPathStruct, 0x14) + // STUB: LEGO1 0x1001b700 // FUNCTION: BETA10 0x100c26c5 void LegoPathStruct::VTable0x04(undefined4, undefined4, undefined4)