summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFSound
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-14 08:15:46 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-14 08:15:46 +0000
commit0facac847fd9cde7556a53a0d19407b93b3e3c15 (patch)
tree70dc1ea116b8c06d4647aca653d9a2e56e551c97 /macosx/plugins/DFSound
parentf6977b75b9a3cebff0ac73a9e751941dea4d7e42 (diff)
downloadpcsxr-0facac847fd9cde7556a53a0d19407b93b3e3c15.tar.gz
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
Diffstat (limited to 'macosx/plugins/DFSound')
-rw-r--r--macosx/plugins/DFSound/Info.plist4
-rw-r--r--macosx/plugins/DFSound/PeopsSPU.xcodeproj/project.pbxproj15
-rwxr-xr-xmacosx/plugins/DFSound/src/macosx.c11
3 files changed, 23 insertions, 7 deletions
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 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
- <string>PeopsSPU</string>
+ <string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
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)