summaryrefslogtreecommitdiff
path: root/macosx/PluginController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/PluginController.m')
-rwxr-xr-xmacosx/PluginController.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/PluginController.m b/macosx/PluginController.m
index 6bb2608e..0a47b04a 100755
--- a/macosx/PluginController.m
+++ b/macosx/PluginController.m
@@ -13,13 +13,13 @@
- (IBAction)doAbout:(id)sender
{
- PcsxrPlugin *plugin = [plugins objectAtIndex:[pluginMenu indexOfSelectedItem]];
+ PcsxrPlugin *plugin = plugins[[pluginMenu indexOfSelectedItem]];
[plugin aboutAs:pluginType];
}
- (IBAction)doConfigure:(id)sender
{
- PcsxrPlugin *plugin = [plugins objectAtIndex:[pluginMenu indexOfSelectedItem]];
+ PcsxrPlugin *plugin = plugins[[pluginMenu indexOfSelectedItem]];
[plugin configureAs:pluginType];
}
@@ -28,7 +28,7 @@
if (sender == pluginMenu) {
NSInteger index = [pluginMenu indexOfSelectedItem];
if (index != -1) {
- PcsxrPlugin *plugin = [plugins objectAtIndex:index];
+ PcsxrPlugin *plugin = plugins[index];
if (![[PluginList list] setActivePlugin:plugin forType:pluginType]) {
/* plugin won't initialize */