diff --git a/apple/RetroArch copy-Info.plist b/apple/RetroArch copy-Info.plist
new file mode 100644
index 0000000000..8d5965839e
--- /dev/null
+++ b/apple/RetroArch copy-Info.plist
@@ -0,0 +1,49 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleDocumentTypes
+
+
+ CFBundleTypeExtensions
+
+ *
+
+ CFBundleTypeName
+ All Files
+ CFBundleTypeRole
+ Viewer
+
+
+ CFBundleExecutable
+ ${EXECUTABLE_NAME}
+ CFBundleIconFile
+ retroarch
+ CFBundleIdentifier
+ libretro.${PRODUCT_NAME:rfc1034identifier}
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ ${PRODUCT_NAME}
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ 1.2.2
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.2.2
+ LSMinimumSystemVersion
+ ${MACOSX_DEPLOYMENT_TARGET}
+ NSHighResolutionCapable
+
+ NSHumanReadableCopyright
+ Copyright © 2015 RetroArch. All rights reserved.
+ NSMainNibFile
+ MainMenu
+ NSPrincipalClass
+ RApplication
+
+
diff --git a/apple/RetroArch.xcodeproj/project.pbxproj b/apple/RetroArch.xcodeproj/project.pbxproj
index d68077cf16..e64dc8dd2d 100644
--- a/apple/RetroArch.xcodeproj/project.pbxproj
+++ b/apple/RetroArch.xcodeproj/project.pbxproj
@@ -8,6 +8,20 @@
/* Begin PBXBuildFile section */
1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; };
+ 500845251B89300700CE6073 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
+ 500845261B89300700CE6073 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; };
+ 500845271B89300700CE6073 /* retroarch.icns in Resources */ = {isa = PBXBuildFile; fileRef = 84DD5EB71A89F1C7007336C1 /* retroarch.icns */; };
+ 500845291B89300700CE6073 /* griffin_objc.m in Sources */ = {isa = PBXBuildFile; fileRef = 509F0C9C1AA23AFC00619ECC /* griffin_objc.m */; };
+ 5008452A1B89300700CE6073 /* griffin.c in Sources */ = {isa = PBXBuildFile; fileRef = 840222FB1A889EE2009AB261 /* griffin.c */; };
+ 5008452C1B89300700CE6073 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5061C8A31AE47E510080AE14 /* libz.dylib */; };
+ 5008452D1B89300700CE6073 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5EA81A89E4BE007336C1 /* CoreAudio.framework */; };
+ 5008452E1B89300700CE6073 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5EB21A89E6C0007336C1 /* AudioUnit.framework */; };
+ 5008452F1B89300700CE6073 /* Cg.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5EB01A89E664007336C1 /* Cg.framework */; settings = {ATTRIBUTES = (Required, ); }; };
+ 500845301B89300700CE6073 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5EAC1A89E5B4007336C1 /* OpenGL.framework */; };
+ 500845311B89300700CE6073 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5EA61A89E406007336C1 /* CoreLocation.framework */; };
+ 500845321B89300700CE6073 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 29B97324FDCFA39411CA2CEA /* AppKit.framework */; };
+ 500845331B89300700CE6073 /* CoreVideo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5E9E1A88E45B007336C1 /* CoreVideo.framework */; };
+ 500845341B89300700CE6073 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5EB41A89E737007336C1 /* IOKit.framework */; };
5061C8A41AE47E510080AE14 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5061C8A31AE47E510080AE14 /* libz.dylib */; };
509F0C9D1AA23AFC00619ECC /* griffin_objc.m in Sources */ = {isa = PBXBuildFile; fileRef = 509F0C9C1AA23AFC00619ECC /* griffin_objc.m */; };
840222FC1A889EE2009AB261 /* griffin.c in Sources */ = {isa = PBXBuildFile; fileRef = 840222FB1A889EE2009AB261 /* griffin.c */; };
@@ -18,12 +32,29 @@
84DD5EAD1A89E5B4007336C1 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5EAC1A89E5B4007336C1 /* OpenGL.framework */; };
84DD5EB31A89E6C0007336C1 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5EB21A89E6C0007336C1 /* AudioUnit.framework */; };
84DD5EB51A89E737007336C1 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5EB41A89E737007336C1 /* IOKit.framework */; };
- 84DD5EB61A89E76C007336C1 /* Cg.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84DD5EB01A89E664007336C1 /* Cg.framework */; };
84DD5EB81A89F1C7007336C1 /* retroarch.icns in Resources */ = {isa = PBXBuildFile; fileRef = 84DD5EB71A89F1C7007336C1 /* retroarch.icns */; };
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
+ 500845351B89300700CE6073 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 7;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 500845361B89300700CE6073 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 7;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
841CBB831A8A33B60066E9F1 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
@@ -48,6 +79,8 @@
089C165DFE840E0CC02AAC07 /* InfoPlist.strings */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = InfoPlist.strings; path = OSX/en.lproj/InfoPlist.strings; sourceTree = ""; };
1DDD58150DA1D0A300B32029 /* MainMenu.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = MainMenu.xib; path = OSX/en.lproj/MainMenu.xib; sourceTree = ""; };
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; };
+ 5008453A1B89300700CE6073 /* RetroArch copy.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RetroArch copy.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 5008453B1B89300700CE6073 /* RetroArch copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "RetroArch copy-Info.plist"; path = "/Users/squarepusher/libretro-super/retroarch/apple/RetroArch copy-Info.plist"; sourceTree = ""; };
5061C8A31AE47E510080AE14 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
509F0C9C1AA23AFC00619ECC /* griffin_objc.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = griffin_objc.m; path = ../griffin/griffin_objc.m; sourceTree = ""; };
840222FB1A889EE2009AB261 /* griffin.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = griffin.c; path = ../griffin/griffin.c; sourceTree = SOURCE_ROOT; };
@@ -64,6 +97,22 @@
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
+ 5008452B1B89300700CE6073 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 5008452C1B89300700CE6073 /* libz.dylib in Frameworks */,
+ 5008452D1B89300700CE6073 /* CoreAudio.framework in Frameworks */,
+ 5008452E1B89300700CE6073 /* AudioUnit.framework in Frameworks */,
+ 5008452F1B89300700CE6073 /* Cg.framework in Frameworks */,
+ 500845301B89300700CE6073 /* OpenGL.framework in Frameworks */,
+ 500845311B89300700CE6073 /* CoreLocation.framework in Frameworks */,
+ 500845321B89300700CE6073 /* AppKit.framework in Frameworks */,
+ 500845331B89300700CE6073 /* CoreVideo.framework in Frameworks */,
+ 500845341B89300700CE6073 /* IOKit.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
8D11072E0486CEB800E47090 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@@ -71,7 +120,6 @@
5061C8A41AE47E510080AE14 /* libz.dylib in Frameworks */,
84DD5EA91A89E4BE007336C1 /* CoreAudio.framework in Frameworks */,
84DD5EB31A89E6C0007336C1 /* AudioUnit.framework in Frameworks */,
- 84DD5EB61A89E76C007336C1 /* Cg.framework in Frameworks */,
84DD5EAD1A89E5B4007336C1 /* OpenGL.framework in Frameworks */,
84DD5EA71A89E406007336C1 /* CoreLocation.framework in Frameworks */,
84DD5EA31A89E2AA007336C1 /* AppKit.framework in Frameworks */,
@@ -116,6 +164,7 @@
isa = PBXGroup;
children = (
8D1107320486CEB800E47090 /* RetroArch.app */,
+ 5008453A1B89300700CE6073 /* RetroArch copy.app */,
);
name = Products;
sourceTree = "";
@@ -130,6 +179,7 @@
29B97317FDCFA39411CA2CEA /* Resources */,
29B97323FDCFA39411CA2CEA /* Frameworks */,
19C28FACFE9D520D11CA2CBB /* Products */,
+ 5008453B1B89300700CE6073 /* RetroArch copy-Info.plist */,
);
indentWidth = 3;
name = RetroArch;
@@ -184,6 +234,26 @@
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
+ 500845231B89300700CE6073 /* RetroArch Cg */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 500845371B89300700CE6073 /* Build configuration list for PBXNativeTarget "RetroArch Cg" */;
+ buildPhases = (
+ 500845241B89300700CE6073 /* Resources */,
+ 500845281B89300700CE6073 /* Sources */,
+ 5008452B1B89300700CE6073 /* Frameworks */,
+ 500845351B89300700CE6073 /* CopyFiles */,
+ 500845361B89300700CE6073 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "RetroArch Cg";
+ productInstallPath = "$(HOME)/Applications";
+ productName = RetroArch;
+ productReference = 5008453A1B89300700CE6073 /* RetroArch copy.app */;
+ productType = "com.apple.product-type.application";
+ };
8D1107260486CEB800E47090 /* RetroArch */ = {
isa = PBXNativeTarget;
buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "RetroArch" */;
@@ -223,12 +293,23 @@
projectDirPath = "";
projectRoot = "";
targets = (
+ 500845231B89300700CE6073 /* RetroArch Cg */,
8D1107260486CEB800E47090 /* RetroArch */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
+ 500845241B89300700CE6073 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 500845251B89300700CE6073 /* InfoPlist.strings in Resources */,
+ 500845261B89300700CE6073 /* MainMenu.xib in Resources */,
+ 500845271B89300700CE6073 /* retroarch.icns in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
8D1107290486CEB800E47090 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@@ -242,6 +323,15 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
+ 500845281B89300700CE6073 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 500845291B89300700CE6073 /* griffin_objc.m in Sources */,
+ 5008452A1B89300700CE6073 /* griffin.c in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
8D11072C0486CEB800E47090 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@@ -273,6 +363,128 @@
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
+ 500845381B89300700CE6073 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COMBINE_HIDPI_IMAGES = YES;
+ COPY_PHASE_STRIP = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(LOCAL_LIBRARY_DIR)/Frameworks",
+ );
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ HEADER_SEARCH_PATHS = (
+ "$(SRCROOT)/..",
+ "$(SRCROOT)/../gfx/inc",
+ "$(SRCROOT)/../libretro-common/include",
+ );
+ INFOPLIST_FILE = "RetroArch copy-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ MACOSX_DEPLOYMENT_TARGET = 10.5;
+ OTHER_CFLAGS = (
+ "-DHAVE_GRIFFIN",
+ "-DHAVE_IMAGEVIEWER",
+ "-DHAVE_CORETEXT",
+ "-DHAVE_IOHIDMANAGER",
+ "-DHAVE_CORELOCATION",
+ "-DHAVE_RGUI",
+ "-DHAVE_MENU",
+ "-DOSX",
+ "-DHAVE_OPENGL",
+ "-DHAVE_FBO",
+ "-DHAVE_GLSL",
+ "-DINLINE=inline",
+ "-D__LIBRETRO__",
+ "-DWANT_RPNG",
+ "-DHAVE_COREAUDIO",
+ "-DHAVE_DYNAMIC",
+ "-DHAVE_OVERLAY",
+ "-DHAVE_ZLIB",
+ "-DHAVE_RPNG",
+ "-DHAVE_COCOA",
+ "-DHAVE_MAIN",
+ "-DSINC_LOWER_QUALITY",
+ "-DHAVE_NETPLAY",
+ "-DHAVE_NETWORKING",
+ "-DRARCH_INTERNAL",
+ "-DHAVE_THREADS",
+ "-DHAVE_DYLIB",
+ "-DHAVE_CG",
+ "-DHAVE_7ZIP",
+ "-DHAVE_GLUI",
+ "-DHAVE_HID",
+ "-DHAVE_XMB",
+ "-DHAVE_LIBRETRODB",
+ );
+ PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES;
+ PRODUCT_NAME = "RetroArch copy";
+ };
+ name = Debug;
+ };
+ 500845391B89300700CE6073 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COMBINE_HIDPI_IMAGES = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(LOCAL_LIBRARY_DIR)/Frameworks",
+ );
+ GCC_MODEL_TUNING = G5;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ HEADER_SEARCH_PATHS = (
+ "$(SRCROOT)/..",
+ "$(SRCROOT)/../gfx/inc",
+ "$(SRCROOT)/../libretro-common/include",
+ );
+ INFOPLIST_FILE = "RetroArch copy-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ MACOSX_DEPLOYMENT_TARGET = 10.5;
+ OTHER_CFLAGS = (
+ "-DHAVE_GRIFFIN",
+ "-DHAVE_IMAGEVIEWER",
+ "-DHAVE_IOHIDMANAGER",
+ "-DHAVE_CORETEXT",
+ "-DHAVE_CORELOCATION",
+ "-DHAVE_RGUI",
+ "-DHAVE_MENU",
+ "-DOSX",
+ "-DHAVE_OPENGL",
+ "-DHAVE_FBO",
+ "-DHAVE_GLSL",
+ "-DINLINE=inline",
+ "-D__LIBRETRO__",
+ "-DWANT_RPNG",
+ "-DHAVE_COREAUDIO",
+ "-DHAVE_DYNAMIC",
+ "-DHAVE_OVERLAY",
+ "-DHAVE_ZLIB",
+ "-DHAVE_RPNG",
+ "-DHAVE_COCOA",
+ "-DHAVE_MAIN",
+ "-DSINC_LOWER_QUALITY",
+ "-DHAVE_NETPLAY",
+ "-DHAVE_NETWORKING",
+ "-DRARCH_INTERNAL",
+ "-DHAVE_THREADS",
+ "-DHAVE_DYLIB",
+ "-DHAVE_CG",
+ "-DHAVE_7ZIP",
+ "-DHAVE_GLUI",
+ "-DHAVE_HID",
+ "-DHAVE_XMB",
+ "-DHAVE_LIBRETRODB",
+ );
+ PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES;
+ PRODUCT_NAME = "RetroArch copy";
+ };
+ name = Release;
+ };
C01FCF4B08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@@ -323,7 +535,6 @@
"-DRARCH_INTERNAL",
"-DHAVE_THREADS",
"-DHAVE_DYLIB",
- "-DHAVE_CG",
"-DHAVE_7ZIP",
"-DHAVE_GLUI",
"-DHAVE_HID",
@@ -383,7 +594,6 @@
"-DRARCH_INTERNAL",
"-DHAVE_THREADS",
"-DHAVE_DYLIB",
- "-DHAVE_CG",
"-DHAVE_7ZIP",
"-DHAVE_GLUI",
"-DHAVE_HID",
@@ -424,6 +634,15 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
+ 500845371B89300700CE6073 /* Build configuration list for PBXNativeTarget "RetroArch Cg" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 500845381B89300700CE6073 /* Debug */,
+ 500845391B89300700CE6073 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Debug;
+ };
C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "RetroArch" */ = {
isa = XCConfigurationList;
buildConfigurations = (