mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-03-04 09:27:15 +00:00
Add additional checks and logging
This commit is contained in:
parent
f92aecd28b
commit
d4c52008a0
@ -1714,7 +1714,7 @@ bool config_load_override(void)
|
|||||||
|
|
||||||
new_conf = NULL;
|
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);
|
new_conf = config_file_new(game_path);
|
||||||
|
|
||||||
/* Append game-specific */
|
/* Append game-specific */
|
||||||
@ -1736,6 +1736,8 @@ bool config_load_override(void)
|
|||||||
|
|
||||||
if(should_append)
|
if(should_append)
|
||||||
config_load_file(global->config_path, false);
|
config_load_file(global->config_path, false);
|
||||||
|
else
|
||||||
|
return false;
|
||||||
|
|
||||||
return true; /* only means no errors were caught */
|
return true; /* only means no errors were caught */
|
||||||
}
|
}
|
||||||
|
@ -1886,7 +1886,8 @@ static bool init_core(void)
|
|||||||
driver_t *driver = driver_get_ptr();
|
driver_t *driver = driver_get_ptr();
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
|
|
||||||
config_load_override();
|
if(!config_load_override());
|
||||||
|
RARCH_ERR("Error loading override files");
|
||||||
|
|
||||||
verify_api_version();
|
verify_api_version();
|
||||||
pretro_init();
|
pretro_init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user