From 048700fe579834f6933bb0488e2ab37782cbe7fe Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sat, 2 Sep 2017 23:28:44 +0200 Subject: decompile rtc --- include/rtc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/rtc.h') diff --git a/include/rtc.h b/include/rtc.h index fdc5ad709..5ee6a5316 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -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); -- cgit v1.2.3