From 36c58f3192e5c71a9b0c2e7bc9924f3ad6da0e39 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Wed, 28 Dec 2011 18:52:18 +0000 Subject: 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 --- macosx/plugins/DFSound/macsrc/PluginController.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'macosx/plugins/DFSound/macsrc/PluginController.m') 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]; -- cgit v1.2.3