mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-04 06:11:17 +00:00
(Settings data) Remove settings_data_save_config
This commit is contained in:
parent
ae4f01fe98
commit
badf6641a6
@ -198,21 +198,6 @@ bool setting_data_load_config(const rarch_setting_t* settings, config_file_t* co
|
||||
return true;
|
||||
}
|
||||
|
||||
bool setting_data_save_config_path(const rarch_setting_t* settings, const char* path)
|
||||
{
|
||||
bool result = false;
|
||||
config_file_t* config = (config_file_t*)config_file_new(path);
|
||||
|
||||
if (!config)
|
||||
config = config_file_new(0);
|
||||
|
||||
setting_data_save_config(settings, config);
|
||||
result = config_file_write(config, path);
|
||||
config_file_free(config);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
bool setting_data_save_config(const rarch_setting_t* settings, config_file_t* config)
|
||||
{
|
||||
const rarch_setting_t *setting;
|
||||
|
@ -99,7 +99,6 @@ void setting_data_reset(const rarch_setting_t* settings);
|
||||
|
||||
bool setting_data_load_config_path(const rarch_setting_t* settings, const char* path);
|
||||
bool setting_data_load_config(const rarch_setting_t* settings, config_file_t* config);
|
||||
bool setting_data_save_config_path(const rarch_setting_t* settings, const char* path);
|
||||
bool setting_data_save_config(const rarch_setting_t* settings, config_file_t* config);
|
||||
|
||||
rarch_setting_t* setting_data_find_setting(rarch_setting_t* settings, const char* name);
|
||||
|
Loading…
Reference in New Issue
Block a user