diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-09-10 18:43:18 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-09-10 18:43:18 +0000 |
| commit | 4b4f074b6659f33b4f9e1c9784861409d8debd97 (patch) | |
| tree | 0fbd7f1ea28c9431cd8bafbaaac5d689d55d5dd6 /macosx/PluginList.m | |
| parent | a3ac4842bd5c7058b1363f7d3307f61724fc7178 (diff) | |
| download | pcsxr-4b4f074b6659f33b4f9e1c9784861409d8debd97.tar.gz | |
Convert Objective-C code to modern syntax, mainly for the NSDictionaries.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87115 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PluginList.m')
| -rwxr-xr-x | macosx/PluginList.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/PluginList.m b/macosx/PluginList.m index 94afcd90..c41e9200 100755 --- a/macosx/PluginList.m +++ b/macosx/PluginList.m @@ -77,7 +77,7 @@ const static int typeList[] = {PSE_LT_GPU, PSE_LT_SPU, PSE_LT_CDR, PSE_LT_PAD, P // verify that the ones that are in list still works for (i=0; i < [pluginList count]; i++) { - if (![[pluginList objectAtIndex:i] verifyOK]) { + if (![pluginList[i] verifyOK]) { [pluginList removeObjectAtIndex:i]; i--; } } @@ -114,7 +114,7 @@ const static int typeList[] = {PSE_LT_GPU, PSE_LT_SPU, PSE_LT_CDR, PSE_LT_PAD, P NSUInteger j; for (j=0; j < [list count]; j++) { - if ([self setActivePlugin:[list objectAtIndex:j] forType:typeList[i]]) + if ([self setActivePlugin:list[j] forType:typeList[i]]) break; } if (j == [list count]) |
