diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-12 22:50:37 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-12 22:50:37 +0000 |
| commit | b83c8fe686c5374b38b31510f9803d3908d0c4f8 (patch) | |
| tree | ce9eb52a3e041128304bd79a2065c75029aca9a9 /macosx/PluginList.m | |
| parent | 98f9382fb8307e539091454392ca658648f722b8 (diff) | |
| download | pcsxr-b83c8fe686c5374b38b31510f9803d3908d0c4f8.tar.gz | |
Changing Mac getters to be more Objective-C.
Getters in Objective-C are just named what they are getting, I.E. "getVariable" isn't valid, but "variable" is.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72232 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PluginList.m')
| -rw-r--r-- | macosx/PluginList.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/PluginList.m b/macosx/PluginList.m index 38df989e..f3d5a449 100644 --- a/macosx/PluginList.m +++ b/macosx/PluginList.m @@ -64,7 +64,7 @@ const static int typeList[4] = {PSE_LT_GPU, PSE_LT_SPU, PSE_LT_CDR, PSE_LT_PAD}; type = typeMask; for (i=0; i<[plugins count]; i++) { PcsxrPlugin *plugin = [plugins objectAtIndex:i]; - if ([plugin getType] == type) { + if ([plugin type] == type) { [list addObject:plugin]; } } @@ -102,7 +102,7 @@ const static int typeList[4] = {PSE_LT_GPU, PSE_LT_SPU, PSE_LT_CDR, PSE_LT_PAD}; missingPlugins = NO; for (i = 0; i < sizeof(*typeList); i++) { - NSString *path = [defaults stringForKey:[PcsxrPlugin getDefaultKeyForType:typeList[i]]]; + NSString *path = [defaults stringForKey:[PcsxrPlugin defaultKeyForType:typeList[i]]]; if (nil == path) { missingPlugins = YES; continue; @@ -204,7 +204,7 @@ const static int typeList[4] = {PSE_LT_GPU, PSE_LT_SPU, PSE_LT_CDR, PSE_LT_PAD}; for (i=0; i<[pluginList count]; i++) { PcsxrPlugin *plugin = [pluginList objectAtIndex:i]; - if ([plugin getType] & typeMask) { + if ([plugin type] & typeMask) { [types addObject:plugin]; } } @@ -306,7 +306,7 @@ const static int typeList[4] = {PSE_LT_GPU, PSE_LT_SPU, PSE_LT_CDR, PSE_LT_PAD}; str = "Invalid Plugin"; } - char **dst = [PcsxrPlugin getConfigEntriesForType:type]; + char **dst = [PcsxrPlugin configEntriesForType:type]; while (*dst) { strncpy(*dst, str, 255); dst++; |
