From 982045d66479eef9ee7fbc16797d0d108ff26cce Mon Sep 17 00:00:00 2001 From: stephena Date: Fri, 8 Jul 2005 11:50:32 +0000 Subject: [PATCH] Fixed missing detection for 3E bankswitching method. Brian, ignore my previous email, since this fixes the problem. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@620 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/emucore/Cart.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stella/src/emucore/Cart.cxx b/stella/src/emucore/Cart.cxx index e727a0a66..0787502ab 100644 --- a/stella/src/emucore/Cart.cxx +++ b/stella/src/emucore/Cart.cxx @@ -13,13 +13,14 @@ // 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.12 2005-06-28 01:15:17 urchlay Exp $ +// $Id: Cart.cxx,v 1.13 2005-07-08 11:50:32 stephena Exp $ //============================================================================ #include #include #include "Cart.hxx" #include "Cart2K.hxx" +#include "Cart3E.hxx" #include "Cart3F.hxx" #include "Cart4K.hxx" #include "CartAR.hxx" @@ -59,6 +60,8 @@ Cartridge* Cartridge::create(const uInt8* image, uInt32 size, // We should know the cart's type by now so let's create it if(type == "2K") cartridge = new Cartridge2K(image); + else if(type == "3E") + cartridge = new Cartridge3E(image, size); else if(type == "3F") cartridge = new Cartridge3F(image, size); else if(type == "4K")