mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
settings_data: Fix weird object return in setting_data_load_config_path
This commit is contained in:
parent
8e12c7811c
commit
0079173abc
@ -282,12 +282,12 @@ bool setting_data_load_config_path(rarch_setting_t* settings,
|
||||
config_file_t *cfg = (config_file_t*)config_file_new(path);
|
||||
|
||||
if (!cfg)
|
||||
return NULL;
|
||||
return false;
|
||||
|
||||
setting_data_load_config(settings, cfg);
|
||||
config_file_free(cfg);
|
||||
|
||||
return cfg;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool setting_data_save_config(rarch_setting_t* settings,
|
||||
|
Loading…
Reference in New Issue
Block a user