summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-11 02:36:29 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-11 02:36:29 +0000
commit6d2da330ce6a8822d69295f2cb470494a68f6dcf (patch)
tree5fbf9083800de36fc11f2229a06fc00977ab6894
parent04f58e9cbc7396f7a5c9b1de2a9a4640540f7818 (diff)
downloadpcsxr-6d2da330ce6a8822d69295f2cb470494a68f6dcf.tar.gz
Don't build the mini-SDL library with ARC.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85966 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--macosx/Pcsxr.xcodeproj/project.pbxproj3
-rwxr-xr-xmacosx/plugins/Bladesio1/macsrc/PluginConfigController.m9
2 files changed, 10 insertions, 2 deletions
diff --git a/macosx/Pcsxr.xcodeproj/project.pbxproj b/macosx/Pcsxr.xcodeproj/project.pbxproj
index 0261749a..dab34101 100644
--- a/macosx/Pcsxr.xcodeproj/project.pbxproj
+++ b/macosx/Pcsxr.xcodeproj/project.pbxproj
@@ -2998,6 +2998,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ "CLANG_ENABLE_OBJC_ARC[arch=x86_64]" = NO;
CLANG_WARN_EMPTY_BODY = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
@@ -3015,6 +3016,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ "CLANG_ENABLE_OBJC_ARC[arch=x86_64]" = NO;
CLANG_WARN_EMPTY_BODY = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
@@ -3224,6 +3226,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ "CLANG_ENABLE_OBJC_ARC[arch=x86_64]" = NO;
CLANG_WARN_EMPTY_BODY = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
diff --git a/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m b/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
index b1b4c08e..584f58a6 100755
--- a/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
+++ b/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
@@ -78,12 +78,17 @@ void ConfDlgProc()
__block PluginConfigController *tmpWindowController = nil;
//We need this block due to the xib's use of auto layout
- dispatch_sync(dispatch_get_main_queue(), ^{
+ dispatch_block_t getWindowBlock = ^{
if (windowController == nil) {
tmpWindowController = [[PluginConfigController alloc] initWithWindowNibName:@"Bladesio1PluginConfig"];
}
window = [(windowController ? windowController : tmpWindowController) window];
- });
+ };
+ if ([NSThread isMainThread]) {
+ getWindowBlock();
+ } else {
+ dispatch_sync(dispatch_get_main_queue(), getWindowBlock);
+ }
if (!windowController) {
windowController = tmpWindowController;
}