And it never ends. Fix broken support for 2K ROMs.

This commit is contained in:
Stephen Anthony 2020-06-07 17:40:42 -02:30
parent 870905fb87
commit 468f6657ae
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -87,6 +87,8 @@ CartridgeEnhanced::CartridgeEnhanced(const ByteBuffer& image, size_t size,
else
{
mySize = size;
if(mySize < 4_KB)
myBankShift = 11;
// Allocate array for the ROM image
myImage = make_unique<uInt8[]>(mySize);