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 New Issue