Update warning message when truncating ROMs in the ROM buffer.

This commit is contained in:
Stephen Anthony 2020-06-07 15:34:38 -02:30
parent 5f2fbc8618
commit 870905fb87
2 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,6 @@
#define VERSION_HXX
#define STELLA_VERSION "6.2"
#define STELLA_BUILD "5996"
#define STELLA_BUILD "6000"
#endif

View File

@ -33,7 +33,8 @@ CartridgeEnhanced::CartridgeEnhanced(const ByteBuffer& image, size_t size,
if(size > bsSize)
{
ostringstream buf;
buf << "ROM larger than expected (" << size << " > " << bsSize << "), truncating\n";
buf << "ROM larger than expected (" << size << " > " << bsSize
<< "), truncating " << (size - bsSize) << " bytes\n";
Logger::info(buf.str());
size = bsSize;