mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 09:35:40 +00:00
CDROM: Don't apply speed change delay when already changing
This commit is contained in:
parent
72d7ba9163
commit
16c02c8559
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue