Fixed the new MMIO mapping size of the S3 Virge968, Paintbrush no longer hangs but does not display correctly, pending the implementation of the Video engine.

This commit is contained in:
OBattler
2020-12-09 13:23:37 +01:00
parent fd044440b3
commit 7733bc826d

View File

@@ -2707,6 +2707,7 @@ s3_updatemapping(s3_t *s3)
/* New MMIO. */
if (svga->crtc[0x53] & 0x08) {
pclog("New MMIO enabled at %08x, CRTC59 = %02x\n", s3->linear_base + 0x1000000, svga->crtc[0x59]);
mem_mapping_set_addr(&s3->new_mmio_mapping, s3->linear_base + 0x1000000, 0x20000);
} else {
pclog("New MMIO disabled\n", s3->linear_base);