From 0facac847fd9cde7556a53a0d19407b93b3e3c15 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Tue, 14 Dec 2010 08:15:46 +0000 Subject: MaddTheSane: - Clean up the Xcode projects a bit. - Added 64-bit mode on Mac. - Made it so that the SDK was set on the Xcode projects. - Enabled PowerPC support. (Patch #7730). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61171 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFInput/DFInput.xcodeproj/project.pbxproj | 15 +++++++++++++++ macosx/plugins/DFInput/macsrc/MappingCell.m | 6 +++--- 2 files changed, 18 insertions(+), 3 deletions(-) (limited to 'macosx/plugins/DFInput') diff --git a/macosx/plugins/DFInput/DFInput.xcodeproj/project.pbxproj b/macosx/plugins/DFInput/DFInput.xcodeproj/project.pbxproj index 35a8d87e..d981d3fd 100644 --- a/macosx/plugins/DFInput/DFInput.xcodeproj/project.pbxproj +++ b/macosx/plugins/DFInput/DFInput.xcodeproj/project.pbxproj @@ -339,9 +339,18 @@ 089C1669FE841209C02AAC07 /* Project object */ = { isa = PBXProject; buildConfigurationList = 71155B110FDFA2DE00EC0BC5 /* Build configuration list for PBXProject "DFInput" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); mainGroup = 089C166AFE841209C02AAC07 /* DFInput */; projectDirPath = ""; + projectRoot = ""; targets = ( 8D57630D048677EA00EA77CD /* DFInput */, ); @@ -509,6 +518,7 @@ 71155B120FDFA2DE00EC0BC5 /* Development */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = "$(ONLY_ACTIVE_ARCH_PRE_XCODE_3_1)"; GCC_MODEL_TUNING = ""; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = "_MACOSX=1"; @@ -521,6 +531,8 @@ ./SDL, ./SDL/include, ); + ONLY_ACTIVE_ARCH_PRE_XCODE_3_1 = "$(NATIVE_ARCH_ACTUAL)"; + SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; STRIP_INSTALLED_PRODUCT = NO; }; name = Development; @@ -528,6 +540,8 @@ 71155B130FDFA2DE00EC0BC5 /* Deployment */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc"; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PREPROCESSOR_DEFINITIONS = "_MACOSX=1"; HEADER_SEARCH_PATHS = ( @@ -539,6 +553,7 @@ ./SDL/include, ../include, ); + SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; }; name = Deployment; }; diff --git a/macosx/plugins/DFInput/macsrc/MappingCell.m b/macosx/plugins/DFInput/macsrc/MappingCell.m index 0fb43bd1..7c04b2f7 100644 --- a/macosx/plugins/DFInput/macsrc/MappingCell.m +++ b/macosx/plugins/DFInput/macsrc/MappingCell.m @@ -31,13 +31,13 @@ return self; } -- (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject start:(int)selStart length:(int)selLength +- (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject start:(NSInteger)selStart length:(NSInteger)selLength { [super selectWithFrame:aRect inView:controlView editor:textObj delegate:anObject start:selStart length:selLength]; - int whichPad = [ControllerList currentController]; + NSInteger whichPad = [ControllerList currentController]; NSTableView *tableView = (NSTableView *)[self controlView]; - int i, changed = 0, row; + NSInteger i, changed = 0, row; NSEvent *endEvent; NSPoint where = {0.0, 0.0}; -- cgit v1.2.3