CDROM: Slightly adjust seek timing when on target

Fixes Resident Evil 3 booting.
This commit is contained in:
Stenzek 2023-01-17 18:08:12 +10:00
parent b5f806a830
commit fab261165b
1 changed files with 1 additions and 1 deletions

View File

@ -1259,7 +1259,7 @@ TickCount CDROM::GetTicksForSeek(CDImage::LBA new_lba, bool ignore_speed_change)
if (lba_diff < 32)
{
// 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
{