CDROM: Don't apply speed change delay when already changing
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user