vbagx/source/vba/gba/RTC.h

20 lines
387 B
C
Raw Normal View History

2009-01-10 03:41:39 +01:00
#ifndef RTC_H
#define RTC_H
2008-09-23 01:00:10 +02:00
2009-01-10 03:41:39 +01:00
u16 rtcRead(u32 address);
bool rtcWrite(u32 address, u16 value);
void rtcEnable(bool);
void rtcEnableWarioRumble(bool);
2009-01-10 03:41:39 +01:00
bool rtcIsEnabled();
void rtcReset();
2008-09-23 01:00:10 +02:00
#ifdef __LIBRETRO__
void rtcReadGame(const u8 *&data);
void rtcSaveGame(u8 *&data);
#else
2009-01-10 03:41:39 +01:00
void rtcReadGame(gzFile gzFile);
void rtcSaveGame(gzFile gzFile);
#endif
2008-09-23 01:00:10 +02:00
2009-01-10 03:41:39 +01:00
#endif // RTC_H