diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2019-09-03 22:22:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 22:22:14 -0400 |
commit | 6b04ea0727973e66227b31caa2ccdcb6f2b4891f (patch) | |
tree | 4d5e4e5d1b6e480bd195d8a9a29703e6475cc2e9 /berry_fix/payload/include/rtc.h | |
parent | ecf2097abb1481109578b7b8260fd40606f27abe (diff) | |
parent | 1f4c88c95243e8d75f25d5b7868c837c47aa578d (diff) |
Merge branch 'master' into document-eventscripts
Diffstat (limited to 'berry_fix/payload/include/rtc.h')
-rw-r--r-- | berry_fix/payload/include/rtc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/berry_fix/payload/include/rtc.h b/berry_fix/payload/include/rtc.h new file mode 100644 index 000000000..35654d866 --- /dev/null +++ b/berry_fix/payload/include/rtc.h @@ -0,0 +1,15 @@ +#ifndef GUARD_RTC_H +#define GUARD_RTC_H + +#include "gba/gba.h" +#include "siirtc.h" +#include "global.h" + +extern struct Time gTimeSinceBerryUpdate; +extern struct Time gRtcUTCTime; + +bool32 rtc_maincb_is_rtc_working(void); +bool32 rtc_maincb_is_time_since_last_berry_update_positive(u8 *); +void rtc_maincb_fix_date(void); + +#endif //GUARD_RTC_H |