From 5fd51d76f5bf9121b44e0d4bb0383ee7f6a7e62d Mon Sep 17 00:00:00 2001 From: Greg Kennedy Date: Wed, 16 Dec 2015 22:49:10 -0600 Subject: [PATCH] Replace ZeroMemory with proper memset command --- sdl/sdlmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdl/sdlmain.cpp b/sdl/sdlmain.cpp index 0b879084..63580dba 100644 --- a/sdl/sdlmain.cpp +++ b/sdl/sdlmain.cpp @@ -780,7 +780,7 @@ int main (int argc, char **argv) snprintf(default_dir, PATH_MAX + 1, "%s%s%s", getenv("HOME"), SLASH_STR, ".snes9x"); s9x_base_dir = default_dir; - ZeroMemory(&Settings, sizeof(Settings)); + memset(&Settings,0,sizeof(Settings)); Settings.MouseMaster = TRUE; Settings.SuperScopeMaster = TRUE; Settings.JustifierMaster = TRUE;