From e542a8ec7278272ae06117cc09f9352dcff49de9 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Thu, 24 Nov 2011 05:17:27 +0000 Subject: 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 --- macosx/ConfigurationController.m | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'macosx/ConfigurationController.m') 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 -- cgit v1.2.3