mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
(iOS) Don't create frontend.cfg anymore
This commit is contained in:
parent
2682780ff9
commit
a492364843
@ -853,7 +853,6 @@ static void RunActionSheet(const char* title, const struct string_list* items, U
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
setting_data_save_config_path(apple_get_frontend_settings(), [[RetroArch_iOS get].systemConfigPath UTF8String]);
|
||||
}
|
||||
|
||||
- (void)willReloadData
|
||||
|
@ -49,8 +49,6 @@ void ios_set_bluetooth_mode(NSString* mode)
|
||||
|
||||
static void apple_refresh_frontend_config(const void *data)
|
||||
{
|
||||
const rarch_setting_t *setting = (const rarch_setting_t*)data;
|
||||
(void)setting;
|
||||
[[RetroArch_iOS get] refreshSystemConfig];
|
||||
}
|
||||
|
||||
@ -206,7 +204,6 @@ static void handle_touch_event(NSArray* touches)
|
||||
// Build system paths and test permissions
|
||||
self.documentsDirectory = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];
|
||||
self.systemDirectory = [self.documentsDirectory stringByAppendingPathComponent:@".RetroArch"];
|
||||
self.systemConfigPath = [self.systemDirectory stringByAppendingPathComponent:@"frontend.cfg"];
|
||||
|
||||
self.configDirectory = self.systemDirectory;
|
||||
self.globalConfigFile = [NSString stringWithFormat:@"%@/retroarch.cfg", self.configDirectory];
|
||||
@ -249,7 +246,6 @@ static void handle_touch_event(NSArray* touches)
|
||||
// Load system config
|
||||
frontend_settings = (const rarch_setting_t*)apple_get_frontend_settings();
|
||||
setting_data_reset(frontend_settings);
|
||||
setting_data_load_config_path(frontend_settings, self.systemConfigPath.UTF8String);
|
||||
}
|
||||
|
||||
- (void)applicationDidBecomeActive:(UIApplication *)application
|
||||
|
Loading…
Reference in New Issue
Block a user