From 5c247bcb15011f3130c9c42e4e2a21184a4e9316 Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Mon, 6 Apr 2026 23:15:56 +0200 Subject: [PATCH] Fix cCcS layout being interpreted inconsistently across TUs Fixes #245 Might be the cause of #176 too but I wasn't able to repro that in either case, so can't confirm. --- include/SSystem/SComponent/c_cc_s.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SSystem/SComponent/c_cc_s.h b/include/SSystem/SComponent/c_cc_s.h index 62815fb3b6..525781279b 100644 --- a/include/SSystem/SComponent/c_cc_s.h +++ b/include/SSystem/SComponent/c_cc_s.h @@ -15,7 +15,7 @@ public: /* 0x0400 */ cCcD_Obj* mpObjTg[0x300]; /* 0x1000 */ cCcD_Obj* mpObjCo[0x100]; /* 0x1400 */ cCcD_Obj* mpObj[0x500]; -#if DEBUG +#if TARGET_PC || DEBUG /* 0x2800 */ u32 m_debug_code; #endif /* 0x2800 */ u16 mObjAtCount;