(OSX) platform.m - Get rid of old code

This commit is contained in:
Twinaphex 2014-10-16 20:39:51 +02:00
parent 8fa2c31a4f
commit 787881a2ac

View File

@ -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