From 2eb16b4cd79f943a8608ed3c3fcf93cf6ca3c935 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Thu, 18 Nov 2021 22:16:18 +0100 Subject: [PATCH] Changes list 3: Reverted one major change of the ATI 28800 cards that caused glitches. --- src/video/vid_ati28800.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/video/vid_ati28800.c b/src/video/vid_ati28800.c index 565418e84..23ec0a2c5 100644 --- a/src/video/vid_ati28800.c +++ b/src/video/vid_ati28800.c @@ -165,7 +165,7 @@ ati28800_out(uint16_t addr, uint8_t val, void *p) ati_eeprom_write(&ati28800->eeprom, val & 8, val & 2, val & 1); break; case 0xb6: - if ((old ^ val) & 0x11) + if ((old ^ val) & 0x10) svga_recalctimings(svga); break; case 0xb8: @@ -488,8 +488,6 @@ ati28800_recalctimings(svga_t *svga) } } } - - svga->vram_display_mask = (ati28800->regs[0xb6] & 1) ? ((ati28800->memory << 10) - 1) : 0x3ffff; }