mirror of https://github.com/PCSX2/pcsx2.git
parent
78881113b9
commit
b5eed53db0
|
@ -1292,12 +1292,13 @@ static uint cdvdStartSeek(uint newsector, CDVD_MODE_TYPE mode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (delta)
|
// Only do this on reads, the seek kind of accounts for this and then it reads the sectors after
|
||||||
|
if (delta && cdvd.nCommand != N_CD_SEEK)
|
||||||
{
|
{
|
||||||
int rotationalLatency = cdvdRotationalLatency((CDVD_MODE_TYPE)cdvdIsDVD());
|
int rotationalLatency = cdvdRotationalLatency((CDVD_MODE_TYPE)cdvdIsDVD());
|
||||||
//DevCon.Warning("%s rotational latency at sector %d is %d cycles", (cdvd.SpindlCtrl & CDVD_SPINDLE_CAV) ? "CAV" : "CLV", cdvd.SeekToSector, rotationalLatency);
|
DevCon.Warning("%s rotational latency at sector %d is %d cycles", (cdvd.SpindlCtrl & CDVD_SPINDLE_CAV) ? "CAV" : "CLV", cdvd.SeekToSector, rotationalLatency);
|
||||||
seektime += rotationalLatency;
|
seektime += rotationalLatency + cdvd.ReadTime;
|
||||||
CDVDSECTORREADY_INT(cdvd.ReadTime + seektime + rotationalLatency);
|
CDVDSECTORREADY_INT(seektime);
|
||||||
seektime += (cdvd.BlockSize / 4);
|
seektime += (cdvd.BlockSize / 4);
|
||||||
}
|
}
|
||||||
return seektime;
|
return seektime;
|
||||||
|
|
Loading…
Reference in New Issue