From 5a7acba7439ec2fac77dfd7d813d87a2f02e5d5c Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 3 Feb 2018 23:35:23 +0100 Subject: [PATCH] Fixed a compile-breaking mistake in vid_cl_gd.c. --- src/video/vid_cl_gd.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/video/vid_cl_gd.c b/src/video/vid_cl_gd.c index f1562c910..00fb58c4e 100644 --- a/src/video/vid_cl_gd.c +++ b/src/video/vid_cl_gd.c @@ -8,13 +8,13 @@ * * Emulation of select Cirrus Logic cards. * - * Version: @(#)vid_cl_gd.c 1.0.4 2017/11/04 + * Version: @(#)vid_cl_gd.c 1.0.5 2018/02/03 * * Authors: Sarah Walker, * Miran Grca, * - * Copyright 2008-2017 Sarah Walker. - * Copyright 2016,2017 Miran Grca. + * Copyright 2008-2018 Sarah Walker. + * Copyright 2016-2018 Miran Grca. */ #include #include @@ -209,8 +209,6 @@ void clgd_out(uint16_t addr, uint8_t val, void *p) svga->crtcreg = val & 0x3f; return; case 0x3D5: - if (svga->crtcreg <= 0x18) - val &= mask_crtc[svga->crtcreg]; if ((svga->crtcreg < 7) && (svga->crtc[0x11] & 0x80)) return; if ((svga->crtcreg == 7) && (svga->crtc[0x11] & 0x80))