mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
CDROM: Update position when pausing while seeking instead of erroring
This was causing freezes in FF7 - needs more research.
This commit is contained in:
parent
f47784cb41
commit
b7752ff30b
|
@ -1041,10 +1041,11 @@ void CDROM::ExecuteCommand()
|
||||||
{
|
{
|
||||||
if (m_secondary_status.seeking)
|
if (m_secondary_status.seeking)
|
||||||
{
|
{
|
||||||
Log_WarningPrintf("CDROM Pause command while seeking - sending error response");
|
// TODO: On console, this returns an error. But perhaps only during the coarse/fine seek part? Needs more
|
||||||
SendErrorResponse(STAT_ERROR, ERROR_REASON_NOT_READY);
|
// hardware tests.
|
||||||
EndCommand();
|
Log_WarningPrintf("CDROM Pause command while seeking - updating position");
|
||||||
return;
|
UpdatePositionWhileSeeking();
|
||||||
|
m_drive_event->Deactivate();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Should return an error if seeking.
|
// TODO: Should return an error if seeking.
|
||||||
|
|
Loading…
Reference in a new issue