From 4076f4b6713725ce9dec5e51df0902674c929c4e Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 11 Jan 2020 22:33:34 +0100 Subject: [PATCH] Fixed a mistake in the Cirrus Logic CL-GD 54xx code that was preventing the CL-GD 5446 from working on NT 5.x. --- src/video/vid_cl54xx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/video/vid_cl54xx.c b/src/video/vid_cl54xx.c index 615e3cf5b..0ca557bd8 100644 --- a/src/video/vid_cl54xx.c +++ b/src/video/vid_cl54xx.c @@ -9,13 +9,13 @@ * Emulation of select Cirrus Logic cards (CL-GD 5428, * CL-GD 5429, CL-GD 5430, CL-GD 5434 and CL-GD 5436 are supported). * - * Version: @(#)vid_cl_54xx.c 1.0.31 2019/12/03 + * Version: @(#)vid_cl_54xx.c 1.0.32 2020/01/11 * * Authors: TheCollector1995, * Miran Grca, * - * Copyright 2016-2019 TheCollector1995. - * Copyright 2016-2019 Miran Grca. + * Copyright 2016-2020 TheCollector1995. + * Copyright 2016-2020 Miran Grca. */ #include #include @@ -334,7 +334,7 @@ gd54xx_out(uint16_t addr, uint8_t val, void *p) if (val == 0x12) svga->seqregs[6] = 0x12; else - svga->seqregs[6] = (svga->crtc[0x27] >= CIRRUS_ID_CLGD5446) ? 0xff : 0x0f; + svga->seqregs[6] = 0x0f; if (svga->crtc[0x27] < CIRRUS_ID_CLGD5429) gd54xx->unlocked = (svga->seqregs[6] == 0x12); break;