mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
(OSX) platform.m - Get rid of old code
This commit is contained in:
parent
8fa2c31a4f
commit
787881a2ac
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user