mirror of https://github.com/stella-emu/stella.git
And it never ends. Fix broken support for 2K ROMs.
This commit is contained in:
parent
870905fb87
commit
468f6657ae
|
@ -19,6 +19,6 @@
|
||||||
#define VERSION_HXX
|
#define VERSION_HXX
|
||||||
|
|
||||||
#define STELLA_VERSION "6.2"
|
#define STELLA_VERSION "6.2"
|
||||||
#define STELLA_BUILD "6000"
|
#define STELLA_BUILD "6001"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -87,6 +87,8 @@ CartridgeEnhanced::CartridgeEnhanced(const ByteBuffer& image, size_t size,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mySize = size;
|
mySize = size;
|
||||||
|
if(mySize < 4_KB)
|
||||||
|
myBankShift = 11;
|
||||||
|
|
||||||
// Allocate array for the ROM image
|
// Allocate array for the ROM image
|
||||||
myImage = make_unique<uInt8[]>(mySize);
|
myImage = make_unique<uInt8[]>(mySize);
|
||||||
|
|
Loading…
Reference in New Issue