From 4b061cdcf4ffb7fe195969ca14ee4639afe99a5a Mon Sep 17 00:00:00 2001 From: SarahW Date: Fri, 17 May 2019 17:04:01 +0100 Subject: [PATCH] Fixed typo when reading SR[17] on Cirrus Logic cards. --- src/vid_cl5429.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vid_cl5429.c b/src/vid_cl5429.c index 6d62d43..081dc46 100644 --- a/src/vid_cl5429.c +++ b/src/vid_cl5429.c @@ -343,7 +343,7 @@ uint8_t gd5429_in(uint16_t addr, void *p) return ((svga->seqregs[6] & 0x17) == 0x12) ? 0x12 : 0x0f; case 0x17: - temp = svga->gdcreg[0x17]; + temp = svga->seqregs[0x17]; temp &= ~(7 << 3); if (gd5429->type == CL_TYPE_GD5429) {