Mercurial > vba-linux
diff 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 |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/gba/RTC.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,17 @@ 1.4 +#ifndef VBA_RTC_H 1.5 +#define VBA_RTC_H 1.6 + 1.7 +#if _MSC_VER > 1000 1.8 +#pragma once 1.9 +#endif // _MSC_VER > 1000 1.10 + 1.11 +extern u16 rtcRead(u32 address); 1.12 +extern bool rtcWrite(u32 address, u16 value); 1.13 +extern void rtcEnable(bool); 1.14 +extern bool rtcIsEnabled(); 1.15 +extern void rtcReset(); 1.16 + 1.17 +extern void rtcReadGame(gzFile gzFile); 1.18 +extern void rtcSaveGame(gzFile gzFile); 1.19 + 1.20 +#endif // VBA_RTC_H