summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-24 00:12:44 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-24 00:12:44 +0000
commit6a153e5bbd72a3629bba955386c2a2fe71627678 (patch)
treed13463da9f5312fc7980d871cb262a3cfd88856a
parent356b1facf0618adca0b1e7a3f54fb8be06f4fedb (diff)
downloadpcsxr-6a153e5bbd72a3629bba955386c2a2fe71627678.tar.gz
Minor changes on OS X code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86216 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--macosx/LaunchArg.h4
-rw-r--r--macosx/Pcsxr.xcodeproj/project.pbxproj24
-rwxr-xr-xmacosx/PcsxrController.m2
-rwxr-xr-xmacosx/main.m2
-rw-r--r--macosx/plugins/DFInput/Info.plist2
5 files changed, 29 insertions, 5 deletions
diff --git a/macosx/LaunchArg.h b/macosx/LaunchArg.h
index 2ec8813e..7885bed9 100644
--- a/macosx/LaunchArg.h
+++ b/macosx/LaunchArg.h
@@ -11,8 +11,8 @@
typedef enum _LaunchArgOrder {
LaunchArgPreRun = 0,
- LaunchArgRun = 2,
- LaunchArgPostRun = 4
+ LaunchArgRun = 200,
+ LaunchArgPostRun = 400
}LaunchArgOrder;
@interface LaunchArg : NSObject
diff --git a/macosx/Pcsxr.xcodeproj/project.pbxproj b/macosx/Pcsxr.xcodeproj/project.pbxproj
index dab34101..54dd6156 100644
--- a/macosx/Pcsxr.xcodeproj/project.pbxproj
+++ b/macosx/Pcsxr.xcodeproj/project.pbxproj
@@ -2813,6 +2813,7 @@
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
MACOSX_DEPLOYMENT_TARGET = 10.7;
WRAPPER_EXTENSION = psxplugin;
@@ -2829,6 +2830,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
MACOSX_DEPLOYMENT_TARGET = 10.7;
WRAPPER_EXTENSION = psxplugin;
@@ -2847,6 +2849,7 @@
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
WRAPPER_EXTENSION = psxplugin;
};
@@ -2862,6 +2865,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
WRAPPER_EXTENSION = psxplugin;
};
@@ -2879,6 +2883,7 @@
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
HEADER_SEARCH_PATHS = (
plugins/Common/SDL/include,
"$(inherited)",
@@ -2899,6 +2904,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
HEADER_SEARCH_PATHS = (
plugins/Common/SDL/include,
"$(inherited)",
@@ -2922,6 +2928,7 @@
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
OTHER_CFLAGS = "$(OPTIMIZATION_CFLAGS)";
PRODUCT_NAME = PeopsSoftGPU;
@@ -2941,6 +2948,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
OTHER_CFLAGS = "$(OPTIMIZATION_CFLAGS)";
PRODUCT_NAME = PeopsSoftGPU;
@@ -2961,6 +2969,7 @@
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
HEADER_SEARCH_PATHS = (
plugins/Common/SDL/include,
"$(inherited)",
@@ -2983,6 +2992,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
HEADER_SEARCH_PATHS = (
plugins/Common/SDL/include,
"$(inherited)",
@@ -3042,6 +3052,7 @@
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INFOPLIST_FILE = "plugins/DFSound/Info-AL.plist";
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
@@ -3060,6 +3071,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INFOPLIST_FILE = "plugins/DFSound/Info-AL.plist";
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
@@ -3081,6 +3093,7 @@
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
OTHER_CFLAGS = "$(OPTIMIZATION_CFLAGS)";
PRODUCT_NAME = PeopsXGL;
@@ -3100,6 +3113,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
OTHER_CFLAGS = "$(OPTIMIZATION_CFLAGS)";
PRODUCT_NAME = PeopsXGL;
@@ -3119,6 +3133,7 @@
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
WRAPPER_EXTENSION = psxplugin;
};
@@ -3134,6 +3149,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
WRAPPER_EXTENSION = psxplugin;
};
@@ -3267,6 +3283,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
WRAPPER_EXTENSION = psxplugin;
};
@@ -3282,6 +3299,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
HEADER_SEARCH_PATHS = (
plugins/Common/SDL/include,
"$(inherited)",
@@ -3304,6 +3322,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
OTHER_CFLAGS = "$(OPTIMIZATION_CFLAGS)";
PRODUCT_NAME = PeopsSoftGPU;
@@ -3323,6 +3342,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
OTHER_CFLAGS = "$(OPTIMIZATION_CFLAGS)";
PRODUCT_NAME = PeopsXGL;
@@ -3341,6 +3361,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
HEADER_SEARCH_PATHS = (
plugins/Common/SDL/include,
"$(inherited)",
@@ -3363,6 +3384,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INFOPLIST_FILE = "plugins/DFSound/Info-AL.plist";
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
@@ -3380,6 +3402,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
WRAPPER_EXTENSION = psxplugin;
};
@@ -3395,6 +3418,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GENERATE_PKGINFO_FILE = YES;
INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins";
MACOSX_DEPLOYMENT_TARGET = 10.7;
WRAPPER_EXTENSION = psxplugin;
diff --git a/macosx/PcsxrController.m b/macosx/PcsxrController.m
index 715c15f5..fc12a98f 100755
--- a/macosx/PcsxrController.m
+++ b/macosx/PcsxrController.m
@@ -480,7 +480,7 @@ otherblock();\
dispatch_block_t runtimeBlock = ^{
if (![EmuThread isRunBios]) {
//Make sure the emulator is running
- sleep(2);
+ sleep(5);
[EmuThread defrostAt:path];
}
};
diff --git a/macosx/main.m b/macosx/main.m
index 79949694..90771a93 100755
--- a/macosx/main.m
+++ b/macosx/main.m
@@ -189,7 +189,7 @@ const char *SysLibError() {
#ifdef DEBUG
const char *theErr = dlerror();
if (theErr) {
- NSLog(@"@Error loading binary: %s.", theErr);
+ NSLog(@"Error loading binary: %s.", theErr);
}
return theErr;
#else
diff --git a/macosx/plugins/DFInput/Info.plist b/macosx/plugins/DFInput/Info.plist
index 8b085a1e..727baf60 100644
--- a/macosx/plugins/DFInput/Info.plist
+++ b/macosx/plugins/DFInput/Info.plist
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>PsxP</string>
<key>CFBundleSignature</key>
- <string>DFI</string>
+ <string>DFI </string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSPrincipalClass</key>