mirror of https://github.com/snes9xgit/snes9x.git
Replace ZeroMemory with proper memset command
This commit is contained in:
parent
0d73b3ffa3
commit
5fd51d76f5
|
@ -780,7 +780,7 @@ int main (int argc, char **argv)
|
||||||
snprintf(default_dir, PATH_MAX + 1, "%s%s%s", getenv("HOME"), SLASH_STR, ".snes9x");
|
snprintf(default_dir, PATH_MAX + 1, "%s%s%s", getenv("HOME"), SLASH_STR, ".snes9x");
|
||||||
s9x_base_dir = default_dir;
|
s9x_base_dir = default_dir;
|
||||||
|
|
||||||
ZeroMemory(&Settings, sizeof(Settings));
|
memset(&Settings,0,sizeof(Settings));
|
||||||
Settings.MouseMaster = TRUE;
|
Settings.MouseMaster = TRUE;
|
||||||
Settings.SuperScopeMaster = TRUE;
|
Settings.SuperScopeMaster = TRUE;
|
||||||
Settings.JustifierMaster = TRUE;
|
Settings.JustifierMaster = TRUE;
|
||||||
|
|
Loading…
Reference in New Issue