aboutsummaryrefslogtreecommitdiff
path: root/libretro.c
diff options
context:
space:
mode:
Diffstat (limited to 'libretro.c')
-rw-r--r--libretro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libretro.c b/libretro.c
index 5ffc476..68f0ff8 100644
--- a/libretro.c
+++ b/libretro.c
@@ -286,7 +286,7 @@ const char* S9xGetFilename(const char* ex)
void init_sfc_setting(void)
{
- ZeroMemory(&Settings, sizeof(Settings));
+ memset(&Settings, 0, sizeof(Settings));
Settings.JoystickEnabled = FALSE;
Settings.SoundPlaybackRate = 44100; // -> ds2sound.h for defs
Settings.SoundBufferSize = 512;