From 80dbfd6dfa20756eb2ee992556e0cb4d96ddf0d0 Mon Sep 17 00:00:00 2001 From: stephena Date: Fri, 26 Mar 2010 01:39:27 +0000 Subject: [PATCH] Some small changes to the 0840 and 2K classes. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1975 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- src/emucore/Cart0840.cxx | 2 +- src/emucore/Cart0840.hxx | 2 -- src/emucore/Cart2K.hxx | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/emucore/Cart0840.cxx b/src/emucore/Cart0840.cxx index 7d226be1a..66916d528 100644 --- a/src/emucore/Cart0840.cxx +++ b/src/emucore/Cart0840.cxx @@ -76,7 +76,7 @@ void Cartridge0840::install(System& system) } // Install pages for bank 0 - bank(0); + bank(myStartBank); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/emucore/Cart0840.hxx b/src/emucore/Cart0840.hxx index 5451d42bd..7762de8e1 100644 --- a/src/emucore/Cart0840.hxx +++ b/src/emucore/Cart0840.hxx @@ -67,8 +67,6 @@ class Cartridge0840 : public Cartridge /** Get the current bank. - - @return The current bank, or -1 if bankswitching not supported */ int bank(); diff --git a/src/emucore/Cart2K.hxx b/src/emucore/Cart2K.hxx index 6569daf4e..5b9b16c03 100644 --- a/src/emucore/Cart2K.hxx +++ b/src/emucore/Cart2K.hxx @@ -71,8 +71,6 @@ class Cartridge2K : public Cartridge /** Get the current bank. - - @return The current bank, or -1 if bankswitching not supported */ int bank();