Test /etc/ssnes.conf properly

This commit is contained in:
Themaister 2010-12-30 05:55:07 +01:00
parent 0dde1ce7d1
commit 981aa2bdd7

View File

@ -131,7 +131,8 @@ void parse_config(void)
strcat(conf_path, "/.ssnesrc");
conf = config_file_new(conf_path);
}
else // Try /etc/ssnes.cfg as a final test ...
// Try this as a last chance...
if (!conf)
conf = config_file_new("/etc/ssnes.cfg");
}