mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-12 05:40:36 +00:00
(iOS) Get rid of logPath
This commit is contained in:
parent
e3b7df108f
commit
2682780ff9
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user