Video optimisations. Fixed VRAM mask on S3.

This commit is contained in:
TomW 2013-07-09 19:30:53 +01:00
commit f431e74917
19 changed files with 372 additions and 234 deletions

View file

@ -143,7 +143,7 @@ void gd5429_out(uint16_t addr, uint8_t val, void *p)
{
if (svga->crtcreg < 0xe || svga->crtcreg > 0x10)
{
fullchange = changeframecount;
svga->fullchange = changeframecount;
svga_recalctimings(svga);
}
}
@ -323,7 +323,7 @@ void gd5429_write_linear(uint32_t addr, uint8_t val, void *p)
// if (svga_output) pclog("Write LFB %08X %02X ", addr, val);
if (!(svga->gdcreg[6] & 1))
fullchange = 2;
svga->fullchange = 2;
if (svga->chain4 && (svga->writemode < 4))
{
writemask2 = 1 << (addr & 3);