CDROM: Fix incorrect delay on setmode while shell opening

pull/2711/head
Connor McLaughlin 4 years ago
parent 425dee2f0b
commit ec31690587

@ -1064,7 +1064,7 @@ void CDROM::ExecuteCommand(TickCount ticks_late)
ClearDriveState(); 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 // if we're seeking or reading, we need to add time to the current seek/read
const TickCount change_ticks = GetTicksForSpeedChange(); const TickCount change_ticks = GetTicksForSpeedChange();

Loading…
Cancel
Save