Rework video memory handling to cater for open bus and VRAM address wrapping. Fixes more hangs with Trio64 and Windows 95.
This commit is contained in:
parent
da6e537b31
commit
39a68d757b
10 changed files with 174 additions and 117 deletions
|
|
@ -128,7 +128,7 @@ void tvga_out(uint16_t addr, uint8_t val, void *p)
|
|||
switch (svga->crtcreg)
|
||||
{
|
||||
case 0x1e:
|
||||
svga->vrammask = (val & 0x80) ? tvga->vram_mask : 0x3ffff;
|
||||
svga->vram_display_mask = (val & 0x80) ? tvga->vram_mask : 0x3ffff;
|
||||
break;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue