CDROM: Fix incorrect delay on setmode while shell opening

This commit is contained in:
Connor McLaughlin 2021-11-05 15:19:23 +10:00
parent 425dee2f0b
commit ec31690587
1 changed files with 1 additions and 1 deletions

View File

@ -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();