aboutsummaryrefslogtreecommitdiff
path: root/source/srtc.c
diff options
context:
space:
mode:
authoraliaspider2014-10-31 00:32:50 +0100
committeraliaspider2014-10-31 00:32:50 +0100
commit545c5d00d6a1ee596d6992c498108cb3977a1b9a (patch)
tree30e5caea2512de13335f564da8186e9ff5dbb574 /source/srtc.c
parent55f93efc8f9fa487103495ae90972b7ed8d4d824 (diff)
parentc10370ed571d57032f435ddd69877318e7d5bd4b (diff)
downloadsnes9x2005-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.c4
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;