Replace ZeroMemory with proper memset command

This commit is contained in:
Greg Kennedy 2015-12-16 22:49:10 -06:00
parent 0d73b3ffa3
commit 5fd51d76f5
1 changed files with 1 additions and 1 deletions

View File

@ -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;