diff options
author | aliaspider | 2014-10-31 00:32:50 +0100 |
---|---|---|
committer | aliaspider | 2014-10-31 00:32:50 +0100 |
commit | 545c5d00d6a1ee596d6992c498108cb3977a1b9a (patch) | |
tree | 30e5caea2512de13335f564da8186e9ff5dbb574 /source/srtc.c | |
parent | 55f93efc8f9fa487103495ae90972b7ed8d4d824 (diff) | |
parent | c10370ed571d57032f435ddd69877318e7d5bd4b (diff) | |
download | snes9x2005-545c5d00d6a1ee596d6992c498108cb3977a1b9a.tar.gz snes9x2005-545c5d00d6a1ee596d6992c498108cb3977a1b9a.tar.bz2 snes9x2005-545c5d00d6a1ee596d6992c498108cb3977a1b9a.zip |
Merge branch 'master' of https://github.com/libretro/CATSFC-libretro
Diffstat (limited to 'source/srtc.c')
-rw-r--r-- | source/srtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/srtc.c b/source/srtc.c index ba221d4..fb2165a 100644 --- a/source/srtc.c +++ b/source/srtc.c @@ -149,7 +149,7 @@ void S9xResetSRTC() void S9xHardResetSRTC() { - ZeroMemory(&rtc, sizeof(rtc)); + memset(&rtc, 0, sizeof(rtc)); rtc.index = -1; rtc.mode = MODE_READ; rtc.count_enable = FALSE; @@ -436,7 +436,7 @@ void S9xSetSRTC(uint8 data, uint16 Address) // Disable RTC counter rtc.count_enable = FALSE; - ZeroMemory(rtc.data, MAX_RTC_INDEX + 1); + memset(rtc.data, 0, MAX_RTC_INDEX + 1); rtc.index = -1; rtc.mode = MODE_COMMAND_DONE; break; |