summaryrefslogtreecommitdiff
path: root/macosx/Source
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-10-01 19:21:01 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-10-01 19:21:01 +0000
commitc2cb84c86ec9a3db773adca91ea5630a63e27320 (patch)
tree85f9064adc182a8824af48c2792e610bf6184ade /macosx/Source
parent5932a2148fd466cab7e50c5798347e73a6a81fd1 (diff)
downloadpcsxr-c2cb84c86ec9a3db773adca91ea5630a63e27320.tar.gz
OS X: Force the size of the memory card images to 32 px.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91776 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/Source')
-rw-r--r--macosx/Source/PcsxrMemoryObject.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/Source/PcsxrMemoryObject.m b/macosx/Source/PcsxrMemoryObject.m
index 87d6f2fd..8ab320de 100644
--- a/macosx/Source/PcsxrMemoryObject.m
+++ b/macosx/Source/PcsxrMemoryObject.m
@@ -196,7 +196,9 @@ static NSString *MemLabelEndLink;
- (NSImage*)memImage
{
if (self.hasImages == NO) {
- return [PcsxrMemoryObject blankImage];
+ NSImage *tmpBlank = [PcsxrMemoryObject blankImage];
+ tmpBlank.size = NSMakeSize(32, 32);
+ return tmpBlank;
}
if (!_memImage) {
@@ -212,6 +214,7 @@ static NSString *MemLabelEndLink;
CFRelease(dst);
_memImage = [[NSImage alloc] initWithData:gifData];
+ _memImage.size = NSMakeSize(32, 32);
}
return _memImage;
}