summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput
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/DFInput
parent2062efdfedb6fd9bef719a1b8ad000602ddf0e69 (diff)
downloadpcsxr-c912deb4e76adb823b1bb5355b1171eb1241b42b.tar.gz
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/DFInput')
-rwxr-xr-xmacosx/plugins/DFInput/macsrc/PadController.m10
1 files changed, 2 insertions, 8 deletions
diff --git a/macosx/plugins/DFInput/macsrc/PadController.m b/macosx/plugins/DFInput/macsrc/PadController.m
index 87e25407..e3942158 100755
--- a/macosx/plugins/DFInput/macsrc/PadController.m
+++ b/macosx/plugins/DFInput/macsrc/PadController.m
@@ -145,11 +145,5 @@ long DoConfiguration() {
@end
-char* PLUGLOC(char *toloc)
-{
- NSBundle *mainBundle = [NSBundle bundleForClass:[PadController class]];
- NSString *origString = nil, *transString = nil;
- origString = @(toloc);
- transString = [mainBundle localizedStringForKey:origString value:nil table:nil];
- return (char*)[transString UTF8String];
-}
+#import "OSXPlugLocalization.h"
+PLUGLOCIMP([padController class]);