summaryrefslogtreecommitdiff
path: root/macosx/PcsxrPlugin.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-05 21:59:24 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-05 21:59:24 +0000
commitd50bdc6fb2378fc3219e14c47a7b1adc60ee2203 (patch)
tree924bce4490768605b7c0041db20a40e074a597b1 /macosx/PcsxrPlugin.m
parent3296522bfedc2c72cb7d3f4476a64db8bbf38e8f (diff)
downloadpcsxr-d50bdc6fb2378fc3219e14c47a7b1adc60ee2203.tar.gz
Change some +stringWithCString and -initWithCString:encoding: to modern Objective-C syntax.
Change the encoding of a couple of info.plists to UTF-8, otherwise Xcode was complaining. Removing some extra line breaks on OS X code. Other minor changes. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85867 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrPlugin.m')
-rwxr-xr-xmacosx/PcsxrPlugin.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/PcsxrPlugin.m b/macosx/PcsxrPlugin.m
index 67b532b4..8fd720a4 100755
--- a/macosx/PcsxrPlugin.m
+++ b/macosx/PcsxrPlugin.m
@@ -191,7 +191,7 @@
PSE_getLibName = (PSEgetLibName) SysLoadSym(pluginRef, "PSEgetLibName");
if (SysLibError() == nil) {
- name = [[NSString alloc] initWithCString:PSE_getLibName() encoding:NSUTF8StringEncoding];
+ name = RETAINOBJ(@(PSE_getLibName()));
}
PSE_getLibVersion = (PSEgetLibVersion) SysLoadSym(pluginRef, "PSEgetLibVersion");