Made sure bankswitching is enabled when a new Cartridge is created.

Brian, you can ignore my last email on this.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@829 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2005-10-13 02:05:36 +00:00
parent 069ccc4d24
commit 54050ead3d
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//
// $Id: Cart.cxx,v 1.16 2005-09-22 22:10:57 stephena Exp $
// $Id: Cart.cxx,v 1.17 2005-10-13 02:05:36 stephena Exp $
//============================================================================
#include <assert.h>
@ -108,6 +108,7 @@ Cartridge* Cartridge::create(const uInt8* image, uInt32 size,
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cartridge::Cartridge()
{
unlockBank();
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -