summaryrefslogtreecommitdiff
path: root/macosx/PcsxrMemCardArray.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/PcsxrMemCardArray.m')
-rw-r--r--macosx/PcsxrMemCardArray.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/PcsxrMemCardArray.m b/macosx/PcsxrMemCardArray.m
index a867c938..17db35e1 100644
--- a/macosx/PcsxrMemCardArray.m
+++ b/macosx/PcsxrMemCardArray.m
@@ -181,7 +181,7 @@ static inline void ClearMemcardData(char *to, int dsti, char *str)
#endif
return NO;
}
- PcsxrMemoryObject *tmpObj = [rawArray objectAtIndex:idx];
+ PcsxrMemoryObject *tmpObj = rawArray[idx];
int memSize = tmpObj.blockSize;
@@ -260,7 +260,7 @@ static inline void ClearMemcardData(char *to, int dsti, char *str)
return [self freeBlocks];
}
- return [[rawArray objectAtIndex:idx] blockSize];
+ return [rawArray[idx] blockSize];
}
- (void)compactMemory
@@ -317,7 +317,7 @@ static inline void ClearMemcardData(char *to, int dsti, char *str)
return;
}
- PcsxrMemoryObject *theObj = [rawArray objectAtIndex:slotnum];
+ PcsxrMemoryObject *theObj = rawArray[slotnum];
McdBlock flagBlock;