diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-07-21 20:23:01 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-07-21 20:23:01 +0000 |
| commit | 50630078a5b4891fe0b50a6cadb7514bfc8d4f11 (patch) | |
| tree | 6bc3e89137c1dd8fc587d5d652b81d7f9394adc2 /macosx/Source/PcsxrMemoryObject.m | |
| parent | 2a782df55ef84eba063c60401358da11df680c81 (diff) | |
| download | pcsxr-50630078a5b4891fe0b50a6cadb7514bfc8d4f11.tar.gz | |
OS X: Implement the memory card QuickLook preview.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91017 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/Source/PcsxrMemoryObject.m')
| -rw-r--r-- | macosx/Source/PcsxrMemoryObject.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/Source/PcsxrMemoryObject.m b/macosx/Source/PcsxrMemoryObject.m index 7d11b6f8..bd6db46c 100644 --- a/macosx/Source/PcsxrMemoryObject.m +++ b/macosx/Source/PcsxrMemoryObject.m @@ -207,6 +207,14 @@ static NSString *MemLabelEndLink; return (unsigned)[memImages count]; } +- (NSImage*)firstMemImage +{ + if (memImageIndex == -1) { + return [PcsxrMemoryObject blankImage]; + } + return memImages[0]; +} + - (NSImage*)memImage { if (memImageIndex == -1) { |
