| 1 | #ifndef __WSWAN_RTC_H |
| 2 | #define __WSWAN_RTC_H |
| 3 | |
| 4 | #include "../mednafen-types.h" |
| 5 | #include "../state.h" |
| 6 | |
| 7 | #ifdef __cplusplus |
| 8 | extern "C" { |
| 9 | #endif |
| 10 | |
| 11 | void WSwan_RTCWrite(uint32 A, uint8 V); |
| 12 | uint8 WSwan_RTCRead(uint32 A); |
| 13 | void WSwan_RTCReset(void); |
| 14 | void WSwan_RTCClock(uint32 cycles); |
| 15 | int WSwan_RTCStateAction(StateMem *sm, int load, int data_only); |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | } |
| 19 | #endif |
| 20 | |
| 21 | #endif |