From a492364843fb0ded1a5464da7919b19ea5b93dc3 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sat, 19 Jul 2014 03:58:58 +0200 Subject: [PATCH] (iOS) Don't create frontend.cfg anymore --- apple/iOS/menu.m | 1 - apple/iOS/platform.m | 4 ---- 2 files changed, 5 deletions(-) diff --git a/apple/iOS/menu.m b/apple/iOS/menu.m index d228047dbb..846b6f6914 100644 --- a/apple/iOS/menu.m +++ b/apple/iOS/menu.m @@ -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 diff --git a/apple/iOS/platform.m b/apple/iOS/platform.m index dad5f44d2b..a190036925 100644 --- a/apple/iOS/platform.m +++ b/apple/iOS/platform.m @@ -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