Test /etc/ssnes.conf properly
This commit is contained in:
parent
0dde1ce7d1
commit
981aa2bdd7
|
@ -131,7 +131,8 @@ void parse_config(void)
|
||||||
strcat(conf_path, "/.ssnesrc");
|
strcat(conf_path, "/.ssnesrc");
|
||||||
conf = config_file_new(conf_path);
|
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");
|
conf = config_file_new("/etc/ssnes.cfg");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue