CDROM: Slightly adjust seek timing when on target
Fixes Resident Evil 3 booting.
This commit is contained in:
parent
b5f806a830
commit
fab261165b
|
@ -1259,7 +1259,7 @@ TickCount CDROM::GetTicksForSeek(CDImage::LBA new_lba, bool ignore_speed_change)
|
||||||
if (lba_diff < 32)
|
if (lba_diff < 32)
|
||||||
{
|
{
|
||||||
// Special case: when we land exactly on the right sector, we're already too late.
|
// Special case: when we land exactly on the right sector, we're already too late.
|
||||||
ticks += ticks_per_sector * std::min<u32>(5u, (lba_diff == 0) ? 5u : lba_diff);
|
ticks += ticks_per_sector * std::min<u32>(5u, (lba_diff == 0) ? 4u : lba_diff);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue