Fix pixel clocks on ATI-28800, ET4000 and Trident graphics cards.

This commit is contained in:
SarahW 2019-04-26 17:28:01 +01:00
commit 5d9b14ac4a
5 changed files with 39 additions and 39 deletions

View file

@ -293,7 +293,7 @@ void et4000w32p_recalctimings(svga_t *svga)
switch ((svga->miscout >> 2) & 3)
{
case 0: case 1: break;
case 2: case 3: svga->clock = cpuclock / icd2061_getfreq(&et4000->icd2061, 2); break;
case 2: case 3: svga->clock = (cpuclock * (double)(1ull << 32)) / icd2061_getfreq(&et4000->icd2061, 2); break;
}
switch (svga->bpp)