From 787881a2ac5b9a603acc9090e1c3278ce83b8905 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Thu, 16 Oct 2014 20:39:51 +0200 Subject: [PATCH] (OSX) platform.m - Get rid of old code --- apple/OSX/platform.m | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apple/OSX/platform.m b/apple/OSX/platform.m index e001939b73..0f292bdcbe 100644 --- a/apple/OSX/platform.m +++ b/apple/OSX/platform.m @@ -132,13 +132,6 @@ static char** waiting_argv; { apple_platform = self; -#if 0 - const char* paths = [[NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES) firstObject] UTF8String]; - fill_pathname_join(g_defaults.core_dir, NSBundle.mainBundle.bundlePath.UTF8String, "Contents/Resources/modules", sizeof(g_defaults.core_dir)); - - fill_pathname_join(g_defaults.menu_config_dir, paths, "RetroArch", sizeof(g_defaults.menu_config_dir)); - fill_pathname_join(g_defaults.config_path, g_defaults.menu_config_dir, "retroarch.cfg", sizeof(g_defaults.config_path)); -#else char support_path_buf[PATH_MAX + 1]; CFArrayRef array = CFBridgingRetain(NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES)); CFStringRef support_path = CFBridgingRetain(CFArrayGetValueAtIndex(array, 0)); @@ -150,7 +143,6 @@ static char** waiting_argv; CFRelease(support_path); CFRelease(array); -#endif #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070