Mercurial > vba-linux
comparison src/gba/RTC.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
1 #ifndef VBA_RTC_H | |
2 #define VBA_RTC_H | |
3 | |
4 #if _MSC_VER > 1000 | |
5 #pragma once | |
6 #endif // _MSC_VER > 1000 | |
7 | |
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(); | |
13 | |
14 extern void rtcReadGame(gzFile gzFile); | |
15 extern void rtcSaveGame(gzFile gzFile); | |
16 | |
17 #endif // VBA_RTC_H |