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:
SND\MaddTheSane_cp 2013-07-11 03:26:21 +00:00
parent 01055ead4c
commit 6420584693
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}