Sanitized the horizontal blanking adjustments a bit and fixed 640x480x8bpp on some S3 cards.

This commit is contained in:
OBattler
2024-01-13 22:04:20 +01:00
parent a55b64a3dd
commit b1c292a9e9
6 changed files with 81 additions and 63 deletions

View File

@@ -641,7 +641,7 @@ banshee_recalctimings(svga_t *svga)
if (banshee->vidProcCfg & VIDPROCCFG_2X_MODE) {
svga->hdisp *= 2;
svga->htotal *= 2;
svga->hblankstart = ((svga->hblankstart - 1) * 2) + 1;
svga->hblankstart *= 2;
svga->hblank_end_val *= 2;
}