Don't print PSV debug information when compiled for release

This commit is contained in:
Simon Robertshaw 2012-12-16 16:38:12 +00:00
parent 735b2b659f
commit 00190b4aab

View File

@ -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)");