mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
CDROM: Fix incorrect delay on setmode while shell opening
This commit is contained in:
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…
Reference in a new issue