summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFSound/macsrc/PluginController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-28 18:52:18 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-28 18:52:18 +0000
commit36c58f3192e5c71a9b0c2e7bc9924f3ad6da0e39 (patch)
treec202fd05f2adef306974938770838009ce0e8f0d /macosx/plugins/DFSound/macsrc/PluginController.m
parentd1f289eed65ab08f6f1f8b4dff61ec50f887c1c4 (diff)
downloadpcsxr-36c58f3192e5c71a9b0c2e7bc9924f3ad6da0e39.tar.gz
rearranging Sound plug-in for Mac.
Renamed PeopsSPU plugin to PeopsSpuSDL to reflect its use of SDL. Renamed PeopsAL plugin to PeopsSpuAL. Prevent Objective-C class clashing between the sound plug-ins by renaming the named slider class based on which plug-in is being built. Splitting resources between the two different sound plug-ins. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73841 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFSound/macsrc/PluginController.m')
-rw-r--r--macosx/plugins/DFSound/macsrc/PluginController.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m
index 25c55c74..915eb573 100644
--- a/macosx/plugins/DFSound/macsrc/PluginController.m
+++ b/macosx/plugins/DFSound/macsrc/PluginController.m
@@ -81,7 +81,11 @@ long DoConfiguration()
NSWindow *window;
if (pluginController == nil) {
- pluginController = [[PluginController alloc] initWithWindowNibName:@"NetSfPeopsSpuPluginMain"];
+#ifdef USEOPENAL
+ pluginController = [[PluginController alloc] initWithWindowNibName:@"NetSfPeopsSpuALPluginMain"];
+#else
+ pluginController = [[PluginController alloc] initWithWindowNibName:@"NetSfPeopsSpuSDLPluginMain"];
+#endif
}
window = [pluginController window];