Fixed 1280x1024x16bpp and 1600x1200x16bpp on the Elsa S3 Vision 964 and 968 cards.

This commit is contained in:
OBattler
2022-07-11 18:24:11 +02:00
parent ff483de6c9
commit c202a065ec

View File

@@ -3067,6 +3067,10 @@ static void s3_recalctimings(svga_t *svga)
break;
case 16:
svga->render = svga_render_16bpp_highres;
if ((s3->card_type == S3_ELSAWIN2KPROX_964) || (s3->card_type == S3_ELSAWIN2KPROX)) {
if (s3->width == 1280 || s3->width == 1600)
svga->hdisp <<= 1;
}
if ((s3->chip != S3_VISION964) && (s3->card_type != S3_SPEA_MIRAGE_86C801) &&
(s3->card_type != S3_SPEA_MIRAGE_86C805)) {
if (s3->chip == S3_86C928)