Only print some NSLogs when debugging.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85969 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
parent
01055ead4c
commit
6420584693
|
@ -257,7 +257,9 @@ static inline void ClearMemcardData(char *to, int dsti, char *str)
|
|||
- (int)memorySizeAtIndex:(int)idx
|
||||
{
|
||||
if (idx == [rawArray count]) {
|
||||
#ifdef DEBUG
|
||||
NSLog(@"Trying to get an object one more than the length of the raw array. Perhaps you were trying to \"count\" the free blocks.");
|
||||
#endif
|
||||
return [self freeBlocks];
|
||||
}
|
||||
|
||||
|
@ -312,7 +314,9 @@ static inline void ClearMemcardData(char *to, int dsti, char *str)
|
|||
}
|
||||
|
||||
if (slotnum == [rawArray count]) {
|
||||
#ifdef DEBUG
|
||||
NSLog(@"Trying to get an object one more than the length of the raw array. Perhaps you were trying to \"delete\" the free blocks.");
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue