Implement & partial match m_handbill.c

This commit is contained in:
Cuyler36
2023-07-11 10:03:40 -04:00
parent 7f1bca15ed
commit d2cd1de118
5 changed files with 993 additions and 0 deletions
+4
View File
@@ -8,10 +8,14 @@
extern "C" {
#endif
#define mString_ARTICLE_START 0x737
extern void mString_Load_StringFromRom(u8* buf, size_t buf_size, u32 str_no);
extern int mString_Load_MonthStringFromRom(u8* buf, lbRTC_month_t month);
extern int mString_Load_DayStringFromRom(u8* buf, lbRTC_day_t day);
#define mString_Load_ArticleFromRom(buf, buf_size, art) mString_Load_StringFromRom(buf, buf_size, mString_ARTICLE_START + art)
#ifdef __cplusplus
}
#endif