Fix accidental horizontal bug in the 8bpp portion of the S3 recalc timing function using the 80x (1280x1024x8bpp).

This commit is contained in:
TC1995
2021-04-15 16:42:40 +02:00
parent d56a4053bc
commit 3edf20b48b

View File

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