summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFCdrom
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-09 03:20:01 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-09 03:20:01 +0000
commitc912deb4e76adb823b1bb5355b1171eb1241b42b (patch)
treea914f42122662759aa8bd13a2bf2447ad3c22e81 /macosx/plugins/DFCdrom
parent2062efdfedb6fd9bef719a1b8ad000602ddf0e69 (diff)
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
Diffstat (limited to 'macosx/plugins/DFCdrom')
-rwxr-xr-xmacosx/plugins/DFCdrom/macsrc/PluginConfigController.m11
1 files changed, 2 insertions, 9 deletions
diff --git a/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m b/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m
index 95f57fb5..ed80b490 100755
--- a/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m
+++ b/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m
@@ -165,12 +165,5 @@ void ReadConfig()
@end
-char* PLUGLOC(char *toloc)
-{
- NSBundle *mainBundle = [NSBundle bundleForClass:[PluginConfigController class]];
- NSString *origString = nil, *transString = nil;
- origString = @(toloc);
- transString = [mainBundle localizedStringForKey:origString value:nil table:nil];
- return (char*)[transString UTF8String];
-}
-
+#import "OSXPlugLocalization.h"
+PLUGLOCIMP([PluginConfigController class]);