From 54050ead3d928eff0b09353927cc5015fe2a3146 Mon Sep 17 00:00:00 2001 From: stephena Date: Thu, 13 Oct 2005 02:05:36 +0000 Subject: [PATCH] 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 --- stella/src/emucore/Cart.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stella/src/emucore/Cart.cxx b/stella/src/emucore/Cart.cxx index 6f5f80542..c005a7e2c 100644 --- a/stella/src/emucore/Cart.cxx +++ b/stella/src/emucore/Cart.cxx @@ -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 @@ -108,6 +108,7 @@ Cartridge* Cartridge::create(const uInt8* image, uInt32 size, // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cartridge::Cartridge() { + unlockBank(); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -