diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-07-21 20:24:55 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-07-21 20:24:55 +0000 |
| commit | 0a350e09575dda4ad7c5bb21c5fe5edc659f1d59 (patch) | |
| tree | 42182554528e73672a4a16a59504babd367e3be9 /macosx/Source/PcsxrMemCardArray.h | |
| parent | 50630078a5b4891fe0b50a6cadb7514bfc8d4f11 (diff) | |
| download | pcsxr-0a350e09575dda4ad7c5bb21c5fe5edc659f1d59.tar.gz | |
OS X: Modernize the Cocoa code using Xcode 6.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91019 e17a0e51-4ae3-4d35-97c3-1a29b211df97
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; |
