(iOS) Get rid of logPath

This commit is contained in:
twinaphex 2014-07-19 03:34:14 +02:00
parent e3b7df108f
commit 2682780ff9
2 changed files with 0 additions and 13 deletions

View File

@ -25,18 +25,7 @@ typedef struct
{
char orientations[32];
unsigned orientation_flags;
bool logging_enabled;
char bluetooth_mode[64];
struct
{
int stdout;
int stderr;
FILE* file;
} logging;
} apple_frontend_settings_t;
extern apple_frontend_settings_t apple_frontend_settings;
@ -65,7 +54,6 @@ const void* apple_get_frontend_settings(void);
@property (nonatomic) NSString* documentsDirectory; // e.g. /var/mobile/Documents
@property (nonatomic) NSString* systemDirectory; // e.g. /var/mobile/Documents/.RetroArch
@property (nonatomic) NSString* systemConfigPath; // e.g. /var/mobile/Documents/.RetroArch/frontend.cfg
@property (nonatomic) NSString* logPath;
@end

View File

@ -211,7 +211,6 @@ static void handle_touch_event(NSArray* touches)
self.configDirectory = self.systemDirectory;
self.globalConfigFile = [NSString stringWithFormat:@"%@/retroarch.cfg", self.configDirectory];
self.coreDirectory = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:@"modules"];
self.logPath = [self.systemDirectory stringByAppendingPathComponent:@"stdout.log"];
path = (const char*)self.documentsDirectory.UTF8String;
path_mkdir(path);