From ac26a6f3610c80cbfa60629fd1d44d29eb01f84f Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Thu, 20 May 2021 19:19:29 +0200 Subject: [PATCH] disabled random start bank for 3E+ carts (fixes #800) --- src/emucore/Cart3EPlus.hxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/emucore/Cart3EPlus.hxx b/src/emucore/Cart3EPlus.hxx index 14cb9a9e8..ef91d893b 100644 --- a/src/emucore/Cart3EPlus.hxx +++ b/src/emucore/Cart3EPlus.hxx @@ -125,6 +125,12 @@ class Cartridge3EPlus: public Cartridge3E #endif private: + /** + Checks if startup bank randomization is enabled. For this scheme, + randomization is not supported (see above). + */ + bool randomStartBank() const override { return false; } + bool checkSwitchBank(uInt16 address, uInt8 value) override; private: