Applied all mainline commits; Moved all declarations to not be in the middle of code; SVGA linear reads and writes now account for linear base; Fixed a bug with the Compaq ATI 28800.

This commit is contained in:
OBattler
2016-08-01 19:14:54 +02:00
parent d50a7e9449
commit 114bbdfc6d
29 changed files with 305 additions and 171 deletions

View File

@@ -156,12 +156,16 @@ int disc_byteperiod(int drive)
double disc_real_period()
{
int64_t dbp = disc_byteperiod(disc_drivesel ^ fdd_swap);
double ddbp = (double) dbp;
int64_t dbp;
double ddbp;
double dusec;
dbp = disc_byteperiod(disc_drivesel ^ fdd_swap);
ddbp = (double) dbp;
if (dbp == 26) ddbp = 160.0 / 6.0;
double dusec = (double) TIMER_USEC;
dusec = (double) TIMER_USEC;
return (ddbp * dusec);
}