Don't print PSV debug information when compiled for release
This commit is contained in:
parent
735b2b659f
commit
00190b4aab
@ -1097,7 +1097,9 @@ void GameSave::readPSv(char * data, int dataLength)
|
|||||||
}
|
}
|
||||||
dataLength = i;
|
dataLength = i;
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
std::cout << "Parsing " << dataLength << " bytes of data, version " << ver << std::endl;
|
std::cout << "Parsing " << dataLength << " bytes of data, version " << ver << std::endl;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (dataLength < bw*bh)
|
if (dataLength < bw*bh)
|
||||||
throw ParseException(ParseException::Corrupt, "Save data corrupt (missing data)");
|
throw ParseException(ParseException::Corrupt, "Save data corrupt (missing data)");
|
||||||
|
Loading…
Reference in New Issue
Block a user