Yet another attempt at bugfixing the S3 linear framebuffer.

This commit is contained in:
OBattler
2016-11-05 04:44:21 +01:00
parent c9dbaee3dd
commit 5702a34b3b

View File

@@ -1128,12 +1128,14 @@ void s3_updatemapping(s3_t *s3)
// pclog("%08X %08X %02X %02X %02X\n", linear_base, linear_size, crtc[0x58], crtc[0x59], crtc[0x5a]);
// pclog("Linear framebuffer at %08X size %08X\n", s3->linear_base, s3->linear_size);
#if 0
if (s3->linear_base & 0xe0000000)
{
/* If bits 31-29 are not all clear, disable linear base. */
mem_mapping_disable(&s3->linear_mapping);
return;
}
#endif
if (s3->linear_base == 0xa0000)
{