mirror of https://github.com/stella-emu/stella.git
Update warning message when truncating ROMs in the ROM buffer.
This commit is contained in:
parent
5f2fbc8618
commit
870905fb87
|
@ -19,6 +19,6 @@
|
||||||
#define VERSION_HXX
|
#define VERSION_HXX
|
||||||
|
|
||||||
#define STELLA_VERSION "6.2"
|
#define STELLA_VERSION "6.2"
|
||||||
#define STELLA_BUILD "5996"
|
#define STELLA_BUILD "6000"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -33,7 +33,8 @@ CartridgeEnhanced::CartridgeEnhanced(const ByteBuffer& image, size_t size,
|
||||||
if(size > bsSize)
|
if(size > bsSize)
|
||||||
{
|
{
|
||||||
ostringstream buf;
|
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());
|
Logger::info(buf.str());
|
||||||
|
|
||||||
size = bsSize;
|
size = bsSize;
|
||||||
|
|
Loading…
Reference in New Issue