From c912deb4e76adb823b1bb5355b1171eb1241b42b Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Tue, 9 Jul 2013 03:20:01 +0000 Subject: Updating OS X plug-in code. Now the net plug-in will warn you if you have a too large or non-ASCII characters. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85926 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFSound/macsrc/PluginController.m | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'macosx/plugins/DFSound/macsrc') diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m index 49cd371b..fa6fbc97 100755 --- a/macosx/plugins/DFSound/macsrc/PluginController.m +++ b/macosx/plugins/DFSound/macsrc/PluginController.m @@ -216,11 +216,5 @@ void ReadConfig(void) @end -char* PLUGLOC(char *toloc) -{ - NSBundle *mainBundle = [NSBundle bundleForClass:[PluginController class]]; - NSString *origString = nil, *transString = nil; - origString = @(toloc); - transString = [mainBundle localizedStringForKey:origString value:@"" table:nil]; - return (char*)[transString UTF8String]; -} +#import "OSXPlugLocalization.h" +PLUGLOCIMP([PluginController class]); -- cgit v1.2.3