Mercurial > vba-clojure
view src/gba/RTC.h @ 249:99227bec1123
Reworked the hxc definitions; they are now fns that optionally take a single rom arg and dynamically grab the data. Their commonalities are also consolidated into a single template function, hxc-thunk. Minor fixes include stripping pokenames of their padding and splitting the huge hxc-dialog string into a list.
author | Dylan Holmes <ocsenave@gmail.com> |
---|---|
date | Mon, 26 Mar 2012 03:45:24 -0500 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef VBA_RTC_H2 #define VBA_RTC_H4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10008 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