diff options
author | twinaphex | 2017-08-16 06:57:36 +0200 |
---|---|---|
committer | twinaphex | 2017-08-16 06:57:36 +0200 |
commit | aa610b2ba997a945c77ce06e9a33638dedb480da (patch) | |
tree | 5f5d5448a458492bfb220eb2dc6d80096692c1b6 /source/srtc.c | |
parent | 7a8802b9311099e5034054a69a309dcb17661dfa (diff) | |
download | snes9x2005-aa610b2ba997a945c77ce06e9a33638dedb480da.tar.gz snes9x2005-aa610b2ba997a945c77ce06e9a33638dedb480da.tar.bz2 snes9x2005-aa610b2ba997a945c77ce06e9a33638dedb480da.zip |
More C89_BUILD fixes
Diffstat (limited to 'source/srtc.c')
-rw-r--r-- | source/srtc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/srtc.c b/source/srtc.c index bdb2970..e86b6b2 100644 --- a/source/srtc.c +++ b/source/srtc.c @@ -343,8 +343,10 @@ void S9xSRTCPreSaveState() { if (Settings.SRTC) { + int32_t s; + S9xUpdateSrtcTime(); - int32_t s = Memory.SRAMSize ? (1 << (Memory.SRAMSize + 3)) * 128 : 0; + s = Memory.SRAMSize ? (1 << (Memory.SRAMSize + 3)) * 128 : 0; if (s > 0x20000) s = 0x20000; |