summaryrefslogtreecommitdiff
path: root/macosx/PcsxrMemCardController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-09 07:07:15 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-09 07:07:15 +0000
commitb797c32f080fbdb69f4c84ace14a496b34423551 (patch)
tree4b54874a4959adf6f011874c181fe5173620ab63 /macosx/PcsxrMemCardController.m
parente653d69b63a0be853f544d7c533f01817b0be0f4 (diff)
downloadpcsxr-b797c32f080fbdb69f4c84ace14a496b34423551.tar.gz
Changing a lot of NSLogs to SysPrintf on OS X's PCSXR.
Enable the emulog on OS X debug, and have create and use a log in ~/Library/Logs/PCSXR. Delete the hack that enabled PCSXR logs to go to the console in debug mode. Use modern syntax to create static NSArrays (and retain them in non-ARC code). Simplify the pauseSafeWithBlock to just create a new dispatch queue and run pauseSafe on the queue. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85931 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrMemCardController.m')
-rwxr-xr-xmacosx/PcsxrMemCardController.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/PcsxrMemCardController.m b/macosx/PcsxrMemCardController.m
index 24c43fad..c204e575 100755
--- a/macosx/PcsxrMemCardController.m
+++ b/macosx/PcsxrMemCardController.m
@@ -59,6 +59,7 @@
}
}
+#if 0
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil;
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
@@ -68,6 +69,7 @@
return self;
}
+#endif
- (void)loadMemoryCardInfoForCard:(int)theCard
{
@@ -216,7 +218,7 @@
NSInteger deleteOkay = NSRunAlertPanel(NSLocalizedString(@"Delete Block", nil), NSLocalizedString(@"Deleting a block will remove all saved data on that block.\n\nThis cannot be undone.", nil), NSLocalizedString(@"Cancel", nil), NSLocalizedString(@"Delete", nil), nil);
if (deleteOkay == NSAlertAlternateReturn) {
- [self deleteMemoryBlocksAtIndex:selectedIndex card:(int)memCardSelect];
+ [self deleteMemoryBlocksAtIndex:(int)selectedIndex card:(int)memCardSelect];
if (memCardSelect == 1) {
LoadMcd(1, Config.Mcd1);
@@ -243,7 +245,6 @@
[imageAnimateTimer invalidate];
#if !__has_feature(objc_arc)
-
[imageAnimateTimer release];
self.memCard1Array = nil;
self.memCard2Array = nil;