Compare commits

..

1 Commits

Author SHA1 Message Date
coah
d03e747402 Match iplCalendar data 2026-09-23 02:29:05 +00:00
4 changed files with 9 additions and 16 deletions

View File

@@ -1832,7 +1832,7 @@ config.libs = [
Object(NonMatching, "fa/api/FADetach.c"),
Object(NonMatching, "fa/api/FAErrnum.c"),
Object(Matching, "fa/api/FAFclose.c"),
Object(Matching, "fa/api/FAFinfo.c"),
Object(NonMatching, "fa/api/FAFinfo.c"),
Object(NonMatching, "fa/api/FAFopen.c"),
Object(NonMatching, "fa/api/FAFormat.c"),
Object(Matching, "fa/api/FAFread.c"),
@@ -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(Matching, "fa/api/FAInitDiskManager.c"),
Object(NonMatching, "fa/api/FAInitDiskManager.c"),
Object(NonMatching, "fa/api/FAMount.c"),
Object(NonMatching, "fa/api/FARegistCB.c"),
Object(NonMatching, "fa/api/FARemove.c"),

View File

@@ -1,8 +0,0 @@
#include <revolution/fa.h>
extern s32 pfstub_finfo(FAFILE* stream, FAFileInfo* info);
FAError FAFinfo(FAFILE* stream, FAFileInfo* info) {
s32 error = pfstub_finfo(stream, info);
return (-error | error) >> 31;
}

View File

@@ -1,2 +0,0 @@
int FADiskInitializedPadding;
int FADiskInitialized;

View File

@@ -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