summaryrefslogtreecommitdiff
path: root/src/srtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/srtc.h')
-rw-r--r--src/srtc.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/srtc.h b/src/srtc.h
index 1e05019..08d9feb 100644
--- a/src/srtc.h
+++ b/src/srtc.h
@@ -4,7 +4,7 @@
* (c) Copyright 1996 - 2001 Gary Henderson (gary.henderson@ntlworld.com) and
* Jerremy Koot (jkoot@snes9x.com)
*
- * Super FX C emulator code
+ * Super FX C emulator code
* (c) Copyright 1997 - 1999 Ivar (ivar@snes9x.com) and
* Gary Henderson.
* Super FX assembler emulator code (c) Copyright 1998 zsKnight and _Demo_.
@@ -83,26 +83,26 @@ Index Description Range (nibble)
typedef struct
{
- bool8_32 needs_init;
- bool8_32 count_enable; // Does RTC mark time or is it frozen
- uint8 data [MAX_RTC_INDEX+1];
- int8 index;
- uint8 mode;
-
- time_t system_timestamp; // Of latest RTC load time
- uint32 pad;
+ bool8_32 needs_init;
+ bool8_32 count_enable; // Does RTC mark time or is it frozen
+ uint8 data [MAX_RTC_INDEX + 1];
+ int8 index;
+ uint8 mode;
+
+ time_t system_timestamp; // Of latest RTC load time
+ uint32 pad;
} SRTC_DATA;
extern SRTC_DATA rtc;
-void S9xUpdateSrtcTime ();
-void S9xSetSRTC (uint8 data, uint16 Address);
-uint8 S9xGetSRTC (uint16 Address);
-void S9xSRTCPreSaveState ();
-void S9xSRTCPostLoadState ();
-void S9xResetSRTC ();
-void S9xHardResetSRTC ();
+void S9xUpdateSrtcTime();
+void S9xSetSRTC(uint8 data, uint16 Address);
+uint8 S9xGetSRTC(uint16 Address);
+void S9xSRTCPreSaveState();
+void S9xSRTCPostLoadState();
+void S9xResetSRTC();
+void S9xHardResetSRTC();
#define SRTC_SRAM_PAD (4 + 8 + 1 + MAX_RTC_INDEX)
-#endif // _srtc_h
+#endif // _srtc_h