summaryrefslogtreecommitdiff
path: root/macosx/PcsxrMemoryObject.h
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-08 01:10:00 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-08 01:10:00 +0000
commita65d2267a5b86826c59a9673e6aa185469f24000 (patch)
tree046ceb2629da9bec85ce3969be76ef6a3862816f /macosx/PcsxrMemoryObject.h
parent37c0e091c1f8c5975fc3af8aa061a6e6266ed453 (diff)
downloadpcsxr-a65d2267a5b86826c59a9673e6aa185469f24000.tar.gz
Rewriting the memory card management on OS X. It's lacking copy capability right now, though.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85886 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrMemoryObject.h')
-rwxr-xr-xmacosx/PcsxrMemoryObject.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/macosx/PcsxrMemoryObject.h b/macosx/PcsxrMemoryObject.h
index 1f1bb359..8efbe28a 100755
--- a/macosx/PcsxrMemoryObject.h
+++ b/macosx/PcsxrMemoryObject.h
@@ -34,25 +34,31 @@ typedef enum _PCSXRMemFlags {
NSArray *memImages;
NSInteger memImageIndex;
-
+ int startingIndex;
+ int blockSize;
PCSXRMemFlags flagNameIndex;
- unsigned char memFlags;
}
+ (NSArray *)imagesFromMcd:(McdBlock *)block;
+ (NSString*)memoryLabelFromFlag:(PCSXRMemFlags)flagNameIndex;
++ (NSImage *)blankImage;
++ (PCSXRMemFlags)memFlagsFromBlockFlags:(unsigned char)blockFlags;
-- (id)initWithMcdBlock:(McdBlock *)infoBlock;
+- (id)initWithMcdBlock:(McdBlock *)infoBlockc NS_UNAVAILABLE;
+- (id)initWithMcdBlock:(McdBlock *)infoBlockc startingIndex:(int)startIdx;
+- (id)initWithMcdBlock:(McdBlock *)infoBlockc startingIndex:(int)startIdx size:(int)memSize;
@property (readonly, arcstrong) NSString *englishName;
@property (readonly, arcstrong) NSString *sjisName;
@property (readonly, arcstrong) NSString *memName;
@property (readonly, arcstrong) NSString *memID;
@property (readonly) PCSXRMemFlags flagNameIndex;
-@property (readonly) unsigned char memFlags;
-@property (readonly, unsafe_unretained, nonatomic) NSString *flagName;
-@property (readonly, unsafe_unretained, nonatomic) NSAttributedString *attributedFlagName;
+@property (readonly) int startingIndex;
+@property (readonly) int blockSize;
+
@property (readonly, unsafe_unretained, nonatomic) NSImage *memImage;
@property (readonly, nonatomic) int memIconCount;
-@property (readonly, getter = isNotDeleted, nonatomic) BOOL notDeleted DEPRECATED_ATTRIBUTE;
+@property (readonly, unsafe_unretained, nonatomic) NSString *flagName;
+@property (readonly, unsafe_unretained, nonatomic) NSAttributedString *attributedFlagName;
+@property (readonly, nonatomic) BOOL isBiggerThanOne;
@end