aboutsummaryrefslogtreecommitdiff
path: root/source/srtc.h
diff options
context:
space:
mode:
authorJoão Silva2017-08-13 06:02:24 +0100
committerJoão Silva2017-08-13 06:02:24 +0100
commitfdaf2925f1353b07cd957ae47b0e6793648559be (patch)
tree64adbe13da0fe83d85097c5e4492b4b2634e3d95 /source/srtc.h
parente18e3e55bbe96eb2e415ef0ba0ea743460ec0b7b (diff)
downloadsnes9x2005-fdaf2925f1353b07cd957ae47b0e6793648559be.tar.gz
snes9x2005-fdaf2925f1353b07cd957ae47b0e6793648559be.tar.bz2
snes9x2005-fdaf2925f1353b07cd957ae47b0e6793648559be.zip
Copied SPC7110 emulation from snes9x_3ds.
Diffstat (limited to 'source/srtc.h')
-rw-r--r--source/srtc.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/srtc.h b/source/srtc.h
index 98fe369..2bd3490 100644
--- a/source/srtc.h
+++ b/source/srtc.h
@@ -36,11 +36,11 @@ Index Description Range (nibble)
typedef struct
{
bool needs_init;
- bool count_enable; // Does RTC mark time or is it frozen
+ bool count_enable; // Does RTC mark time or is it frozen
uint8_t data [MAX_RTC_INDEX + 1];
int8_t index;
uint8_t mode;
- time_t system_timestamp; // Of latest RTC load time
+ time_t system_timestamp; // Of latest RTC load time
} SRTC_DATA;
extern SRTC_DATA rtc;
@@ -52,7 +52,4 @@ void S9xSRTCPreSaveState(void);
void S9xSRTCPostLoadState(void);
void S9xResetSRTC(void);
void S9xHardResetSRTC(void);
-
-#define SRTC_SRAM_PAD (4 + 8 + 1 + MAX_RTC_INDEX)
-
#endif // _srtc_h