diff options
author | twinaphex | 2018-12-28 00:32:13 +0100 |
---|---|---|
committer | twinaphex | 2018-12-28 00:32:13 +0100 |
commit | c007afe6fd51827fade7aa15a0a798be8bd97839 (patch) | |
tree | 3b8aca538bec3b42ef9bd33549a15110c3a20e37 /src/srtc.c | |
parent | 29db3cf00f552808b3f1dc5d11fcdbbefc659ec4 (diff) | |
download | snes9x2002-c007afe6fd51827fade7aa15a0a798be8bd97839.tar.gz snes9x2002-c007afe6fd51827fade7aa15a0a798be8bd97839.tar.bz2 snes9x2002-c007afe6fd51827fade7aa15a0a798be8bd97839.zip |
Start significantly refactoring this codebase so we can get it
to work with MSVC
Diffstat (limited to 'src/srtc.c')
-rw-r--r-- | src/srtc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -459,9 +459,11 @@ void S9xSRTCPreSaveState() { if (Settings.SRTC) { + int s; + S9xUpdateSrtcTime(); - int s = Memory.SRAMSize ? + s = Memory.SRAMSize ? (1 << (Memory.SRAMSize + 3)) * 128 : 0; if (s > 0x20000) s = 0x20000; |