diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-05-22 04:24:14 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-05-22 04:24:14 +0000 |
| commit | bc9abb12a5632d450f6f6ba831c48ac0c020386e (patch) | |
| tree | 0d10b29cfa563188f857799feb86847ce67235a5 /macosx/PcsxrMemoryObject.m | |
| parent | af7eea9751fea1ab5717ae575eb578135d9a45e1 (diff) | |
| download | pcsxr-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-x | macosx/PcsxrMemoryObject.m | 4 |
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]; |
