decompile rtc

This commit is contained in:
DizzyEggg
2017-09-02 23:28:44 +02:00
parent b5fea95a46
commit 048700fe57
20 changed files with 396 additions and 870 deletions

View File

@@ -22,7 +22,7 @@ extern struct Time gLocalTime;
void RtcDisableInterrupts(void);
void RtcRestoreInterrupts(void);
u32 ConvertBcdToBinary(u8 bcd);
bool8 IsLeapYear(u8 year);
bool8 IsLeapYear(u32 year);
u16 ConvertDateToDayCount(u8 year, u8 month, u8 day);
u16 RtcGetDayCount(struct SiiRtcInfo *rtc);
void RtcInit(void);