diff options
Diffstat (limited to 'macosx/ConfigurationController.m')
| -rwxr-xr-x | macosx/ConfigurationController.m | 6 |
1 files changed, 2 insertions, 4 deletions
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 |
