mirror of https://github.com/stella-emu/stella.git
enhanced CartCDF, now ignores random startup banks (partially addresses #690)
This commit is contained in:
parent
bc8b34e923
commit
fcdd143d23
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue