Removed a useless unsigned compare from the ATi 28800 code.

This commit is contained in:
OBattler
2020-01-14 21:01:46 +01:00
parent 1a770142bd
commit e883577069

View File

@@ -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];