pokefirered/berry_fix/payload/include/rtc.h
PikalaxALT 1d28c9820f Payload is now independent of agbsdk
Are you happy now @luckytyphlosion? Kappa
2019-04-21 21:54:29 -04:00

16 lines
338 B
C

#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