From 0440d3738782b47cb19a2dd7b0cba72c0c4ca9e3 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Thu, 19 Oct 2023 01:32:52 +0200 Subject: [PATCH] Small mach32/svga mapping fix (actually fixes font rendering on win3.1x using the Mach32 2.6 drivers) --- src/video/vid_ati_mach8.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/video/vid_ati_mach8.c b/src/video/vid_ati_mach8.c index 86926f26e..8e7174666 100644 --- a/src/video/vid_ati_mach8.c +++ b/src/video/vid_ati_mach8.c @@ -2427,16 +2427,6 @@ mach_out(uint16_t addr, uint8_t val, void *priv) svga_out(addr, val, svga); return; - case 0x3CF: - if (svga->gdcaddr == 6) { - uint8_t old_val = svga->gdcreg[6]; - svga->gdcreg[6] = val; - if ((svga->gdcreg[6] & 0xc) != (old_val & 0xc)) - mach32_updatemapping(mach); - return; - } - break; - case 0x3D4: svga->crtcreg = val & 0x3f; return;