From 5702a34b3b920503219d045ee00504eb2f35ad8a Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 5 Nov 2016 04:44:21 +0100 Subject: [PATCH] Yet another attempt at bugfixing the S3 linear framebuffer. --- src/vid_s3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vid_s3.c b/src/vid_s3.c index d75225393..866313991 100644 --- a/src/vid_s3.c +++ b/src/vid_s3.c @@ -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) {