mirror of https://github.com/stella-emu/stella.git
Make first 3 segments of 3E+ point to random banks, according to the documentation (fixes #660).
This commit is contained in:
parent
b966fa2802
commit
b9d0535517
|
@ -46,7 +46,7 @@ string Cartridge3EPlusWidget::description()
|
|||
"RAM bank & segment selected by writing to $3E\n"
|
||||
" Lower 512b of segment for read access\n"
|
||||
" Upper 512b of segment for write access\n"
|
||||
"Startup bank = 0/-1/-1/0 (ROM)\n";
|
||||
"Startup bank = -1/-1/-1/0 (ROM)\n";
|
||||
|
||||
// Eventually, we should query this from the debugger/disassembler
|
||||
uInt16 start = (image[0x400 - 3] << 8) | image[0x400 - 4];
|
||||
|
|
|
@ -34,7 +34,7 @@ void Cartridge3EPlus::reset()
|
|||
{
|
||||
CartridgeEnhanced::reset();
|
||||
|
||||
// 1st segment in mapped to start bank in CartridgeEnhanced
|
||||
bank(mySystem->randGenerator().next() % romBankCount(), 0);
|
||||
bank(mySystem->randGenerator().next() % romBankCount(), 1);
|
||||
bank(mySystem->randGenerator().next() % romBankCount(), 2);
|
||||
bank(startBank(), 3);
|
||||
|
|
Loading…
Reference in New Issue