From 3edf20b48b0625c9a453a5718d735342b0de98ec Mon Sep 17 00:00:00 2001 From: TC1995 Date: Thu, 15 Apr 2021 16:42:40 +0200 Subject: [PATCH] Fix accidental horizontal bug in the 8bpp portion of the S3 recalc timing function using the 80x (1280x1024x8bpp). --- src/video/vid_s3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vid_s3.c b/src/video/vid_s3.c index d82a52f7d..8fb271bbc 100644 --- a/src/video/vid_s3.c +++ b/src/video/vid_s3.c @@ -2560,7 +2560,7 @@ static void s3_recalctimings(svga_t *svga) if (s3->chip == S3_86C928) { if (s3->width == 2048 || s3->width == 1280 || s3->width == 1600) svga->hdisp *= 2; - } else { + } else if ((s3->chip != S3_86C801) && (s3->chip != S3_86C805)) { if (s3->width == 1280 || s3->width == 1600) svga->hdisp *= 2; }