From cacecbeddd7299c7611224e1cec040e782d734d8 Mon Sep 17 00:00:00 2001 From: adavie Date: Tue, 3 Jun 2014 14:11:01 +0000 Subject: [PATCH] Must remember to build before commits. Sorry. Fixed erroneous constant duplicate git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2901 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- src/emucore/CartDASH.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/emucore/CartDASH.hxx b/src/emucore/CartDASH.hxx index cd1c0a826..566f21afd 100644 --- a/src/emucore/CartDASH.hxx +++ b/src/emucore/CartDASH.hxx @@ -255,7 +255,7 @@ private: static const uInt8 BANK_BITS = 5; // # bits for bank static const uInt8 BIT_BANK_MASK = (1 << BANK_BITS) - 1; // mask for those bits - static const uInt8 BITMASK_ROMRAM = 0x80; // flags ROM or RAM bank switching (1==RAM) + static const uInt8 BITMASK_ROMRAM = 0x80; // flags ROM or RAM bank switching (D7--> 1==RAM) static const uInt16 RAM_BANK_COUNT = 32; static const uInt16 RAM_BANK_TO_POWER = 9; // 2^n = 512 @@ -268,7 +268,6 @@ private: static const uInt16 BITMASK_ROM_BANK = (ROM_BANK_SIZE -1); static const uInt16 ROM_BANK_COUNT = 32; - static const uInt16 BITMASK_ROM_BANK = (ROM_BANK_COUNT - 1); static const uInt16 RAM_WRITE_OFFSET = 0x800;