rainbow: fixed PRG RAM 4K mode issue
This commit is contained in:
parent
5d154b2eaa
commit
66d7a2bf8d
|
@ -1390,7 +1390,7 @@ static DECLFW(RNBW_0x6000Wr) {
|
|||
break;
|
||||
case PRG_RAM_MODE_1:
|
||||
// 2 x 4K
|
||||
prg_idx = ((A >> 12) & 0x07) - 6;
|
||||
prg_idx = ((A >> 12) & 0x07) - 5;
|
||||
if (((prg[prg_idx] & 0x8000) >> 14) != 0)
|
||||
return CartBW(A, V); // FPGA_RAM or WRAM
|
||||
|
||||
|
|
Loading…
Reference in New Issue