view src/gba/RTC.h @ 308:de172acc5a03

moved the memory manipulation functions out of world.practice and into a separate location, gb.mem-utils, to avoid cyclic load dependency. will adjust the dependent files shortly.
author Dylan Holmes <ocsenave@gmail.com>
date Sat, 31 Mar 2012 04:25:49 -0500
parents f9f4f1b99eed
children
line wrap: on
line source
1 #ifndef VBA_RTC_H
2 #define VBA_RTC_H
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
8 extern u16 rtcRead(u32 address);
9 extern bool rtcWrite(u32 address, u16 value);
10 extern void rtcEnable(bool);
11 extern bool rtcIsEnabled();
12 extern void rtcReset();
14 extern void rtcReadGame(gzFile gzFile);
15 extern void rtcSaveGame(gzFile gzFile);
17 #endif // VBA_RTC_H