enhanced CartCDF, now ignores random startup banks (partially addresses #690)

This commit is contained in:
thrust26 2020-08-17 17:44:34 +02:00
parent bc8b34e923
commit fcdd143d23
2 changed files with 8 additions and 1 deletions

View File

@ -354,7 +354,7 @@ class Cartridge : public Device
@return Whether the startup bank(s) should be randomized
*/
bool randomStartBank() const;
virtual bool randomStartBank() const;
protected:
// Settings class for the application

View File

@ -183,6 +183,13 @@ class CartridgeCDF : public Cartridge
bool poke(uInt16 address, uInt8 value) override;
private:
/**
Checks if startup bank randomization is enabled.
@return Whether the startup bank(s) should be randomized
*/
bool randomStartBank() const override { return false; };
/**
Sets the initial state of the DPC pointers and RAM
*/