mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +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)
|
||||
{
|
||||
Log_WarningPrintf("CDROM Pause command while seeking - sending error response");
|
||||
SendErrorResponse(STAT_ERROR, ERROR_REASON_NOT_READY);
|
||||
EndCommand();
|
||||
return;
|
||||
// TODO: On console, this returns an error. But perhaps only during the coarse/fine seek part? Needs more
|
||||
// hardware tests.
|
||||
Log_WarningPrintf("CDROM Pause command while seeking - updating position");
|
||||
UpdatePositionWhileSeeking();
|
||||
m_drive_event->Deactivate();
|
||||
}
|
||||
|
||||
// TODO: Should return an error if seeking.
|
||||
|
|
Loading…
Reference in a new issue