CDROM: Don't apply speed change delay when already changing

This commit is contained in:
Connor McLaughlin 2021-06-14 19:36:37 +10:00
parent 72d7ba9163
commit 16c02c8559
1 changed files with 2 additions and 1 deletions

View File

@ -1020,7 +1020,8 @@ void CDROM::ExecuteCommand(TickCount ticks_late)
SendACKAndStat(); SendACKAndStat();
EndCommand(); EndCommand();
if (speed_change) if (speed_change && m_drive_state != DriveState::SeekingImplicit &&
m_drive_state != DriveState::ChangingSpeedOrTOCRead)
{ {
// 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();