From fab261165b69a4c24bfe6fcf0f406034c06d646c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 17 Jan 2023 18:08:12 +1000 Subject: [PATCH] CDROM: Slightly adjust seek timing when on target Fixes Resident Evil 3 booting. --- src/core/cdrom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cdrom.cpp b/src/core/cdrom.cpp index 04a225bd5..e2425caa2 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -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(5u, (lba_diff == 0) ? 5u : lba_diff); + ticks += ticks_per_sector * std::min(5u, (lba_diff == 0) ? 4u : lba_diff); } else {