Ported the latest Matrox MGA fixes from PCem.

Removed useless header.
This commit is contained in:
TC1995
2020-03-31 00:33:49 +02:00
parent cff4545082
commit e9710d4b25
4 changed files with 157 additions and 29 deletions

View File

@@ -813,6 +813,9 @@ svga_poll(void *p)
svga->ma = (svga->ma << 2) + (skip << 2);
svga->maback = (svga->maback << 2) + (skip << 2);
svga->ca = (svga->ca << 2) + (skip << 2);
if (svga->vsync_callback)
svga->vsync_callback(svga);
}
if (svga->vc == svga->vtotal) {
svga->vc = 0;