mirror of https://github.com/stella-emu/stella.git
fixed a bug where the combination of RAM banks and PlusROM would break a game (this should fix #1058)
This commit is contained in:
parent
907f687184
commit
86a5454f1a
|
@ -16,6 +16,10 @@
|
||||||
|
|
||||||
* Added developer option for disabling PlusROM support (TODO: Doc)
|
* Added developer option for disabling PlusROM support (TODO: Doc)
|
||||||
|
|
||||||
|
* Enhanced PAL-60 detection, searches for signature (e.g. PAL60) in ROM
|
||||||
|
|
||||||
|
* Enhanced VSYNC emulation, considers VBLANK now too
|
||||||
|
|
||||||
6.7.1 to 7.0 (October 5, 2024)
|
6.7.1 to 7.0 (October 5, 2024)
|
||||||
|
|
||||||
* Enhanced ROM launcher to allow multiple images per ROM.
|
* Enhanced ROM launcher to allow multiple images per ROM.
|
||||||
|
|
|
@ -176,7 +176,7 @@ uInt8 CartridgeEnhanced::peek(uInt16 address)
|
||||||
address &= ROM_MASK;
|
address &= ROM_MASK;
|
||||||
|
|
||||||
// Write port is e.g. at 0xF000 - 0xF07F (128 bytes)
|
// Write port is e.g. at 0xF000 - 0xF07F (128 bytes)
|
||||||
if(address >= myWriteOffset && address < myWriteOffset + myRamSize)
|
if(!myRamBankCount && address >= myWriteOffset && address < myWriteOffset + myRamSize)
|
||||||
{
|
{
|
||||||
// This is a read access to a write port!
|
// This is a read access to a write port!
|
||||||
// Reading from the write port triggers an unwanted write
|
// Reading from the write port triggers an unwanted write
|
||||||
|
|
Loading…
Reference in New Issue