From 678af62ec3a96ca8dc95457ad51412845f0562e0 Mon Sep 17 00:00:00 2001 From: cadmic Date: Tue, 16 Jan 2024 09:15:34 -0800 Subject: [PATCH] Remove actor padding in non-debug versions (#1611) * Remove actor padding in non-debug versions * Remove dbgPad comment Co-authored-by: Dragorn421 --------- Co-authored-by: Dragorn421 --- include/z64actor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/z64actor.h b/include/z64actor.h index e02c52a2da..779fcad840 100644 --- a/include/z64actor.h +++ b/include/z64actor.h @@ -305,7 +305,9 @@ typedef struct Actor { /* 0x130 */ ActorFunc update; // Update Routine. Called by `Actor_UpdateAll` /* 0x134 */ ActorFunc draw; // Draw Routine. Called by `Actor_Draw` /* 0x138 */ ActorOverlay* overlayEntry; // Pointer to the overlay table entry for this actor - /* 0x13C */ char dbgPad[0x10]; // Padding that only exists in the debug rom +#ifdef OOT_DEBUG + /* 0x13C */ char dbgPad[0x10]; +#endif } Actor; // size = 0x14C typedef enum {