Fix VRAM lookup
This commit is contained in:
parent
0474de9605
commit
3e36f945b0
|
@ -184,9 +184,6 @@ namespace BizHawk.Emulation.Cores.Consoles.SuperVision
|
|||
{
|
||||
_vramStartAddress = 0;
|
||||
}
|
||||
|
||||
// setup for the next scanline
|
||||
_vramPointer = _vramStartAddress + (_regs[R_X_SCROLL] >> 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -143,7 +143,7 @@ namespace BizHawk.Emulation.Cores.Consoles.SuperVision
|
|||
/// </summary>
|
||||
public byte ReadVRAM(ushort address)
|
||||
{
|
||||
return VRAM[address & 0x0FFF];
|
||||
return VRAM[address & 0x1FFF];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue