diff options
Diffstat (limited to 'macosx/Source/PcsxrMemCardArray.h')
| -rw-r--r-- | macosx/Source/PcsxrMemCardArray.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/Source/PcsxrMemCardArray.h b/macosx/Source/PcsxrMemCardArray.h index 21b45f3c..584118b6 100644 --- a/macosx/Source/PcsxrMemCardArray.h +++ b/macosx/Source/PcsxrMemCardArray.h @@ -11,7 +11,7 @@ @interface PcsxrMemCardArray : NSObject -- (id)initWithMemoryCardNumber:(int)carNum; +- (instancetype)initWithMemoryCardNumber:(int)carNum NS_DESIGNATED_INITIALIZER; - (void)deleteMemoryBlocksAtIndex:(int)slotnum; - (void)compactMemory; @@ -21,14 +21,14 @@ * @abstract Blocks that are free from any data * @result free blocks */ -- (int)freeBlocks; +@property (readonly) int freeBlocks; /** * @fn availableBlocks * @abstract Blocks that have been deleted * @result free blocks */ -- (int)availableBlocks; +@property (readonly) int availableBlocks; - (int)memorySizeAtIndex:(int)idx; - (BOOL)moveBlockAtIndex:(int)idx toMemoryCard:(PcsxrMemCardArray*)otherCard; - (int)indexOfFreeBlocksWithSize:(int)asize; |
