Add additional checks and logging

This commit is contained in:
radius 2015-04-05 13:58:59 -05:00
parent f92aecd28b
commit d4c52008a0
2 changed files with 5 additions and 2 deletions

View File

@ -1714,7 +1714,7 @@ bool config_load_override(void)
new_conf = NULL;
/* Create a new config file from core_path */
/* Create a new config file from game_path */
new_conf = config_file_new(game_path);
/* Append game-specific */
@ -1736,6 +1736,8 @@ bool config_load_override(void)
if(should_append)
config_load_file(global->config_path, false);
else
return false;
return true; /* only means no errors were caught */
}

View File

@ -1886,7 +1886,8 @@ static bool init_core(void)
driver_t *driver = driver_get_ptr();
global_t *global = global_get_ptr();
config_load_override();
if(!config_load_override());
RARCH_ERR("Error loading override files");
verify_api_version();
pretro_init();