mirror of https://github.com/stella-emu/stella.git
Startup bank randomization is now disabled for BUS and DPC+ too (similar reasoning as for CDF).
This commit is contained in:
parent
2464094694
commit
ad6a930e83
|
@ -53,12 +53,14 @@
|
|||
|
||||
* Added option to disable aspect correct scaling.
|
||||
|
||||
* Bankswitching schemes BUS, DPC+ and CDFx now work when startup bank
|
||||
randomization is enabled (these schemes now ignore that setting).
|
||||
|
||||
* Replaced "Re-disassemble" with "Disassemble @ current line" in debugger.
|
||||
|
||||
* Fixed bug when taking fullscreen snapshots; the dimensions were
|
||||
sometimes cut off.
|
||||
|
||||
|
||||
-Have fun!
|
||||
|
||||
|
||||
|
|
|
@ -181,6 +181,13 @@ class CartridgeBUS : public Cartridge
|
|||
bool poke(uInt16 address, uInt8 value) override;
|
||||
|
||||
private:
|
||||
/**
|
||||
Checks if startup bank randomization is enabled. For this scheme,
|
||||
randomization is not supported, since the ARM code is always in a
|
||||
pre-defined bank, and we *must* start from there.
|
||||
*/
|
||||
bool randomStartBank() const override { return false; }
|
||||
|
||||
/**
|
||||
Sets the initial state of the DPC pointers and RAM
|
||||
*/
|
||||
|
|
|
@ -177,7 +177,7 @@ class CartridgeCDF : public Cartridge
|
|||
|
||||
/**
|
||||
Size of SRAM (RAM) area in cart
|
||||
*/
|
||||
*/
|
||||
uInt32 ramSize() const;
|
||||
|
||||
/**
|
||||
|
@ -215,9 +215,9 @@ class CartridgeCDF : public Cartridge
|
|||
|
||||
private:
|
||||
/**
|
||||
Checks if startup bank randomization is enabled.
|
||||
|
||||
@return Whether the startup bank(s) should be randomized
|
||||
Checks if startup bank randomization is enabled. For this scheme,
|
||||
randomization is not supported, since the ARM code is always in a
|
||||
pre-defined bank, and we *must* start from there.
|
||||
*/
|
||||
bool randomStartBank() const override { return false; }
|
||||
|
||||
|
|
|
@ -175,6 +175,13 @@ class CartridgeDPCPlus : public Cartridge
|
|||
bool poke(uInt16 address, uInt8 value) override;
|
||||
|
||||
private:
|
||||
/**
|
||||
Checks if startup bank randomization is enabled. For this scheme,
|
||||
randomization is not supported, since the ARM code is always in a
|
||||
pre-defined bank, and we *must* start from there.
|
||||
*/
|
||||
bool randomStartBank() const override { return false; }
|
||||
|
||||
/**
|
||||
Sets the initial state of the DPC pointers and RAM
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue