Properly return false from config_load_file.

This commit is contained in:
Themaister 2012-01-29 22:00:21 +01:00
parent ac3f80d738
commit 2c40567030
1 changed files with 1 additions and 4 deletions

View File

@ -333,10 +333,7 @@ bool config_load_file(const char *path)
{
conf = config_file_new(path);
if (!conf)
{
SSNES_ERR("Couldn't find config at path: \"%s\"\n", path);
ssnes_fail(1, "parse_config_file()");
}
return false;
}
else
conf = open_default_config_file();