From db84bdb560d96f39dc1120a20441d77c0a9d941d Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 19 Sep 2020 22:09:30 +1000 Subject: [PATCH] CDROM: Apply 4 sector penalty to ReadN..ReadN sequence Fixes Worms Pinball. --- 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 2b4ec442c..015295edd 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -629,7 +629,7 @@ TickCount CDROM::GetTicksForSeek(CDImage::LBA new_lba) ticks += MASTER_CLOCK; if (lba_diff >= 2550) ticks += static_cast(u64(MASTER_CLOCK) * 300 / 1000); - else if (m_drive_state == DriveState::Idle) // paused + else { // When paused, the CDC seems to keep reading the disc until it hits the position it's set to, then skip 10-15 // sectors back (depending on how far into the disc it is). We'll be generous and use 4 sectors, since on average