summaryrefslogtreecommitdiff
path: root/macosx/main.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-09-23 21:28:57 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-09-23 21:28:57 +0000
commita602f4591fefa9e560a49395c9d4a7a6a126a4c5 (patch)
tree99e57afaa380c70bd5ba02ece871eacd7dd3240a /macosx/main.m
parente81974f7ecc531f43d42180985b9cb37ffb96934 (diff)
downloadpcsxr-a602f4591fefa9e560a49395c9d4a7a6a126a4c5.tar.gz
Quieting a warning in OS X localization implementation.
Fixing a few bugs on the OS X Software Shader support, and adding a quality selector. Changing the hacks type used in the Mac preference selector from unsigned long to unsigned int. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79982 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/main.m')
-rw-r--r--macosx/main.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/main.m b/macosx/main.m
index 74eb0dec..9cf60eb3 100644
--- a/macosx/main.m
+++ b/macosx/main.m
@@ -171,7 +171,7 @@ void OnFile_Exit() {
exit(0);
}
-char* Pcsxr_locale_text(char* toloc){
+const char* Pcsxr_locale_text(char* toloc){
NSBundle *mainBundle = [NSBundle mainBundle];
NSString *origString = nil, *transString = nil;
origString = [NSString stringWithCString:toloc encoding:NSUTF8StringEncoding];