mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-02 15:34:16 +01:00
c21ff25fac
others
20 lines
387 B
C
20 lines
387 B
C
#ifndef RTC_H
|
|
#define RTC_H
|
|
|
|
u16 rtcRead(u32 address);
|
|
bool rtcWrite(u32 address, u16 value);
|
|
void rtcEnable(bool);
|
|
void rtcEnableWarioRumble(bool);
|
|
bool rtcIsEnabled();
|
|
void rtcReset();
|
|
|
|
#ifdef __LIBRETRO__
|
|
void rtcReadGame(const u8 *&data);
|
|
void rtcSaveGame(u8 *&data);
|
|
#else
|
|
void rtcReadGame(gzFile gzFile);
|
|
void rtcSaveGame(gzFile gzFile);
|
|
#endif
|
|
|
|
#endif // RTC_H
|