summaryrefslogtreecommitdiff
path: root/macosx/ConfigurationController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-11-24 05:17:27 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-11-24 05:17:27 +0000
commite542a8ec7278272ae06117cc09f9352dcff49de9 (patch)
tree30857595956976b3b43a2ab50c6854363aabbb74 /macosx/ConfigurationController.m
parenta6ef577f7bd97b78db6d078c9d17cd0de2f143a4 (diff)
downloadpcsxr-e542a8ec7278272ae06117cc09f9352dcff49de9.tar.gz
First steps to make a memory card manager for Mac.
Currently it only allows to to wipe a memory card and see what's saved on it. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72586 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/ConfigurationController.m')
-rw-r--r--macosx/ConfigurationController.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/macosx/ConfigurationController.m b/macosx/ConfigurationController.m
index 7b0782e0..d7f4cc76 100644
--- a/macosx/ConfigurationController.m
+++ b/macosx/ConfigurationController.m
@@ -2,6 +2,7 @@
#import "PcsxrController.h"
#import "PluginList.h"
#import "PcsxrPlugin.h"
+#import "PcsxrMemCardController.h"
#include "psxcommon.h"
#include "plugins.h"
@@ -195,6 +196,9 @@
- (void)dealloc
{
[checkBoxDefaults release];
+ if (memCardEdit) {
+ [memCardEdit release];
+ }
[super dealloc];
}
@@ -211,4 +215,12 @@
return nil;
}
+- (IBAction)mcdEditClicked:(id)sender
+{
+ if (!memCardEdit) {
+ memCardEdit = [[PcsxrMemCardController alloc] init];
+ }
+ [memCardEdit showWindow:nil];
+}
+
@end