From ec6e9394eccbc06f4cd11018847cf44f9f603147 Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Mon, 1 Nov 2021 08:07:13 +0100 Subject: [PATCH] disabled random startup bank for CartWD --- src/emucore/CartWD.hxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/emucore/CartWD.hxx b/src/emucore/CartWD.hxx index 05c2a9070..838111861 100644 --- a/src/emucore/CartWD.hxx +++ b/src/emucore/CartWD.hxx @@ -152,6 +152,12 @@ class CartridgeWD : public CartridgeEnhanced bool poke(uInt16 address, uInt8 value) override; private: + /** + Checks if startup bank randomization is enabled. For this scheme, + randomization is not supported. + */ + bool randomStartBank() const override { return false; } + bool checkSwitchBank(uInt16, uInt8 = 0) override { return false; } uInt16 hotspot() const override { return 0x0030; }