Fix VRAM lookup

This commit is contained in:
Asnivor 2024-11-07 16:30:13 +00:00
parent 0474de9605
commit 3e36f945b0
2 changed files with 1 additions and 4 deletions

View File

@ -184,9 +184,6 @@ namespace BizHawk.Emulation.Cores.Consoles.SuperVision
{
_vramStartAddress = 0;
}
// setup for the next scanline
_vramPointer = _vramStartAddress + (_regs[R_X_SCROLL] >> 2);
}
}
}

View File

@ -143,7 +143,7 @@ namespace BizHawk.Emulation.Cores.Consoles.SuperVision
/// </summary>
public byte ReadVRAM(ushort address)
{
return VRAM[address & 0x0FFF];
return VRAM[address & 0x1FFF];
}
}
}