From 7ab7abce029631c5a5127b8de9bb068d887c81ef Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Wed, 26 Jun 2013 05:13:18 +0000 Subject: Getting rid of commented-out code. Other minor changes. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85565 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/ConfigurationController.m | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'macosx/ConfigurationController.m') diff --git a/macosx/ConfigurationController.m b/macosx/ConfigurationController.m index 0ba7dd79..0eb44642 100755 --- a/macosx/ConfigurationController.m +++ b/macosx/ConfigurationController.m @@ -23,10 +23,8 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey"; strlcpy(Config.Mcd2, [[theURL path] fileSystemRepresentation], MAXPATHLEN ); } - NSDictionary *userDict = [NSDictionary dictionaryWithObject:@(theCard) forKey:memCardChangeNumberKey]; - - [[NSNotificationCenter defaultCenter] postNotificationName:memChangeNotifier object:nil userInfo:userDict]; - + [[NSNotificationCenter defaultCenter] postNotificationName:memChangeNotifier object:nil userInfo: + [NSDictionary dictionaryWithObject:@(theCard) forKey:memCardChangeNumberKey]]; } + (void)setMemoryCard:(int)theCard toPath:(NSString *)theFile -- cgit v1.2.3