aboutsummaryrefslogtreecommitdiff
path: root/source/srtc.h
diff options
context:
space:
mode:
authorTwinaphex2017-08-14 07:23:57 +0200
committerGitHub2017-08-14 07:23:57 +0200
commit262051693823522c34a3e19904bf4ed9f1877e65 (patch)
treed0dd772a589dbfa07bacd70207fc4db0f37d4109 /source/srtc.h
parent62be8bed4dc3dc7793f1df1391f153436e4ea949 (diff)
parent5e450063fbe25926ae50d569c285db428055318a (diff)
downloadsnes9x2005-262051693823522c34a3e19904bf4ed9f1877e65.tar.gz
snes9x2005-262051693823522c34a3e19904bf4ed9f1877e65.tar.bz2
snes9x2005-262051693823522c34a3e19904bf4ed9f1877e65.zip
Merge pull request #39 from jamsilva/master
Fixes and cleanups
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