summaryrefslogtreecommitdiff
path: root/macosx/main.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-26 17:38:29 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-26 17:38:29 +0000
commit895f26cffe5b033161417c1cbfbe32e94685a7f7 (patch)
tree123737fd073ee5d64019a7db6583e7e33220f60e /macosx/main.m
parent5e6b15b321e7b0b76f5d132a72d2e8b72e985702 (diff)
downloadpcsxr-895f26cffe5b033161417c1cbfbe32e94685a7f7.tar.gz
Adding an info.plist for the shared spu library on OS X.
Silence a few warnings about long to int conversions on OS X code. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86929 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/main.m')
-rwxr-xr-xmacosx/main.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/main.m b/macosx/main.m
index 1ea2a6eb..0a231786 100755
--- a/macosx/main.m
+++ b/macosx/main.m
@@ -251,8 +251,7 @@ void OnFile_Exit() {
char* Pcsxr_locale_text(char* toloc){
NSBundle *mainBundle = [NSBundle mainBundle];
- NSString *origString = nil, *transString = nil;
- origString = @(toloc);
+ NSString *origString = @(toloc), *transString = nil;
transString = [mainBundle localizedStringForKey:origString value:@"" table:nil];
return (char*)[transString UTF8String];
}