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:
10
src/disc.c
10
src/disc.c
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user