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/DFSound/Info.plist | 4 ++-- macosx/plugins/DFSound/PeopsSPU.xcodeproj/project.pbxproj | 15 +++++++++++++++ macosx/plugins/DFSound/src/macosx.c | 11 ++++++----- 3 files changed, 23 insertions(+), 7 deletions(-) (limited to 'macosx/plugins/DFSound') diff --git a/macosx/plugins/DFSound/Info.plist b/macosx/plugins/DFSound/Info.plist index 88cf687f..2c4710f6 100644 --- a/macosx/plugins/DFSound/Info.plist +++ b/macosx/plugins/DFSound/Info.plist @@ -1,11 +1,11 @@ - + CFBundleDevelopmentRegion English CFBundleExecutable - PeopsSPU + ${EXECUTABLE_NAME} CFBundleIconFile CFBundleIdentifier diff --git a/macosx/plugins/DFSound/PeopsSPU.xcodeproj/project.pbxproj b/macosx/plugins/DFSound/PeopsSPU.xcodeproj/project.pbxproj index e9c81c48..cdf1f03b 100644 --- a/macosx/plugins/DFSound/PeopsSPU.xcodeproj/project.pbxproj +++ b/macosx/plugins/DFSound/PeopsSPU.xcodeproj/project.pbxproj @@ -180,9 +180,18 @@ 089C1669FE841209C02AAC07 /* Project object */ = { isa = PBXProject; buildConfigurationList = 71155B2B0FDFA2EB00EC0BC5 /* Build configuration list for PBXProject "PeopsSPU" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); mainGroup = 089C166AFE841209C02AAC07 /* PSX Plugin */; projectDirPath = ""; + projectRoot = ""; targets = ( 8D57630D048677EA00EA77CD /* PeopsSPU */, ); @@ -307,12 +316,18 @@ 71155B2C0FDFA2EB00EC0BC5 /* Development */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = "$(ONLY_ACTIVE_ARCH_PRE_XCODE_3_1)"; + ONLY_ACTIVE_ARCH_PRE_XCODE_3_1 = "$(NATIVE_ARCH)"; + SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; }; name = Development; }; 71155B2E0FDFA2EB00EC0BC5 /* Deployment */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; + SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; }; name = Deployment; }; diff --git a/macosx/plugins/DFSound/src/macosx.c b/macosx/plugins/DFSound/src/macosx.c index f329ffcd..4919cbea 100755 --- a/macosx/plugins/DFSound/src/macosx.c +++ b/macosx/plugins/DFSound/src/macosx.c @@ -99,11 +99,12 @@ void SetupSound(void) sndHeader.baseFrequency = kMiddleC; sndHeader.numFrames = buffer_size; sndHeader.sampleSize = 16; -#ifdef __POWERPC__ - sndHeader.format = k16BitBigEndianFormat; -#else - sndHeader.format = k16BitLittleEndianFormat; -#endif +//#ifdef __POWERPC__ +// sndHeader.format = k16BitBigEndianFormat; +//#else +// sndHeader.format = k16BitLittleEndianFormat; +//#endif + sndHeader.format = k16BitNativeEndianFormat; sndHeader.compressionID = fixedCompression; if (soundBufferAt != -1) -- cgit v1.2.3