summaryrefslogtreecommitdiff
path: root/macosx/PcsxrMemoryObject.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-05-22 04:24:14 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-05-22 04:24:14 +0000
commitbc9abb12a5632d450f6f6ba831c48ac0c020386e (patch)
tree0d10b29cfa563188f857799feb86847ce67235a5 /macosx/PcsxrMemoryObject.m
parentaf7eea9751fea1ab5717ae575eb578135d9a45e1 (diff)
downloadpcsxr-bc9abb12a5632d450f6f6ba831c48ac0c020386e.tar.gz
OS X: Minor changes
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90493 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrMemoryObject.m')
-rwxr-xr-xmacosx/PcsxrMemoryObject.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/PcsxrMemoryObject.m b/macosx/PcsxrMemoryObject.m
index 55753914..a26f1829 100755
--- a/macosx/PcsxrMemoryObject.m
+++ b/macosx/PcsxrMemoryObject.m
@@ -30,7 +30,7 @@ NSString *const memoryAnimateTimerKey = @"PCSXR Memory Card Image Animate";
{
NSMutableArray *imagesArray = [[NSMutableArray alloc] initWithCapacity:block->IconCount];
for (int i = 0; i < block->IconCount; i++) {
- NSImage *memImage = nil;
+ NSImage *memImage;
{
NSBitmapImageRep *imageRep = [[NSBitmapImageRep alloc] initWithBitmapDataPlanes:NULL pixelsWide:16 pixelsHigh:16 bitsPerSample:8 samplesPerPixel:3 hasAlpha:NO isPlanar:NO colorSpaceName:NSCalibratedRGBColorSpace bytesPerRow:0 bitsPerPixel:0];
@@ -201,7 +201,7 @@ static NSString *MemLabelEndLink;
@synthesize blockSize;
@synthesize startingIndex;
-#pragma mark Non-synthesize Properties
+#pragma mark Non-synthesized Properties
- (unsigned)memIconCount
{
return (unsigned)[memImages count];