diff --git a/src/video/vid_ati28800.c b/src/video/vid_ati28800.c index a0c883c33..28081efe9 100644 --- a/src/video/vid_ati28800.c +++ b/src/video/vid_ati28800.c @@ -190,8 +190,7 @@ ati28800_out(uint16_t addr, uint8_t val, void *p) return; if ((ati28800->regs[0xb4] & 0x20) && ((svga->crtc[0x08] & 0x7f) && (svga->crtc[0x14] & 0x1f))) return; - if ((ati28800->regs[0xb4] & 0x40) && (((svga->crtcreg >= 0x00) && (svga->crtcreg <= 0x06)) && - (svga->crtc[0x07] & 0x10) != 0x10)) + if ((ati28800->regs[0xb4] & 0x40) && ((svga->crtcreg <= 0x06) && (svga->crtc[0x07] & 0x10) != 0x10)) return; old = svga->crtc[svga->crtcreg];