From d03e747402b2f094e8cd25dece0c7bf93b8a0cb7 Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Wed, 23 Sep 2026 02:29:05 +0000 Subject: [PATCH] Match iplCalendar data --- src/scene/calendar/iplCalendar.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/scene/calendar/iplCalendar.cpp b/src/scene/calendar/iplCalendar.cpp index 24816f9b..27b48278 100644 --- a/src/scene/calendar/iplCalendar.cpp +++ b/src/scene/calendar/iplCalendar.cpp @@ -879,11 +879,14 @@ namespace ipl { } BOOL Calendar::is_lower_limit() { + static const f32 pad0 __attribute__((section(".data"), aligned(1), used)) = 0.0f; + static const f32 pad1 __attribute__((section(".data"), aligned(1), used)) = 0.0f; + static const f32 pad2 __attribute__((section(".data"), aligned(1), used)) = 0.0f; + static const f32 pad3 __attribute__((section(".data"), aligned(1), used)) = 0.0f; + static const f32 pad4 __attribute__((section(".data"), aligned(1), used)) = 0.0f; + static const f32 pad5 __attribute__((section(".data"), aligned(1), used)) = 0.0f; + static const f32 pad6 __attribute__((section(".data"), aligned(1), used)) = 0.0f; return mpBoardDate->year == mscMinDate.year && mpBoardDate->month == mscMinDate.month; } - __declspec(weak) f32 calendar_data_pad() { - static const f32 pad __attribute__((section(".data"), aligned(1))) = 0.0f; - return *((volatile const f32*)&pad); - } } // namespace scene } // namespace ipl