From ec31690587236ec2d3e65560ba0a5551376d3cdd Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 5 Nov 2021 15:19:23 +1000 Subject: [PATCH] CDROM: Fix incorrect delay on setmode while shell opening --- 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 aaddad28d..90bdead6e 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -1064,7 +1064,7 @@ void CDROM::ExecuteCommand(TickCount ticks_late) ClearDriveState(); } } - else if (m_drive_state != DriveState::SeekingImplicit) + else if (m_drive_state != DriveState::SeekingImplicit && m_drive_state != DriveState::ShellOpening) { // if we're seeking or reading, we need to add time to the current seek/read const TickCount change_ticks = GetTicksForSpeedChange();