mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
(iOS) Menu - cleanup
This commit is contained in:
parent
7babf3c65f
commit
1898bd93b1
@ -856,12 +856,12 @@ static void RunActionSheet(const char* title, const struct string_list* items, U
|
||||
{
|
||||
config_file_t* config = (config_file_t*)config_file_new(self.pathToSave.UTF8String);
|
||||
|
||||
if (config)
|
||||
{
|
||||
setting_data_save_config(setting_data_get_list(SL_FLAG_ALL_SETTINGS, false), config);
|
||||
config_file_write(config, self.pathToSave.UTF8String);
|
||||
config_file_free(config);
|
||||
}
|
||||
if (!config)
|
||||
return;
|
||||
|
||||
setting_data_save_config(setting_data_get_list(SL_FLAG_ALL_SETTINGS, false), config);
|
||||
config_file_write(config, self.pathToSave.UTF8String);
|
||||
config_file_free(config);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user