From e052c9ae0cd771f3e77fcdc5646284ffe6ded617 Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Tue, 22 Sep 2026 21:22:57 -0500 Subject: [PATCH 1/3] Match RVL SDK ferror wrapper (#206) -- 2.49.1 From 4b71db7dfd8e44d60d5d7a8b2549c8efa23bdaf3 Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Tue, 22 Sep 2026 21:23:18 -0500 Subject: [PATCH 2/3] Match FAInitDiskManager data (#207) --- configure.py | 2 +- libs/RVL_SDK/src/fa/api/FAInitDiskManager.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 libs/RVL_SDK/src/fa/api/FAInitDiskManager.c diff --git a/configure.py b/configure.py index e8aedb4b..a4000889 100644 --- a/configure.py +++ b/configure.py @@ -1843,7 +1843,7 @@ config.libs = [ Object(Matching, "fa/api/FAFwrite.c"), Object(NonMatching, "fa/api/FAGetdev.c"), Object(NonMatching, "fa/api/FAInit.c"), - Object(NonMatching, "fa/api/FAInitDiskManager.c"), + Object(Matching, "fa/api/FAInitDiskManager.c"), Object(NonMatching, "fa/api/FAMount.c"), Object(NonMatching, "fa/api/FARegistCB.c"), Object(NonMatching, "fa/api/FARemove.c"), diff --git a/libs/RVL_SDK/src/fa/api/FAInitDiskManager.c b/libs/RVL_SDK/src/fa/api/FAInitDiskManager.c new file mode 100644 index 00000000..3f078ac4 --- /dev/null +++ b/libs/RVL_SDK/src/fa/api/FAInitDiskManager.c @@ -0,0 +1,2 @@ +int FADiskInitializedPadding; +int FADiskInitialized; -- 2.49.1 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 3/3] 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 -- 2.49.1