Port over berry fix program

This commit is contained in:
PikalaxALT
2018-12-16 20:17:31 -05:00
parent cc84f66655
commit f91b71d395
47 changed files with 7189 additions and 1 deletions
+15
View File
@@ -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