mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 15:45:42 +00:00
CDROM: Send pre-pause/seek/read stat for commands
This commit is contained in:
parent
83b67b3c4c
commit
739ada4721
|
@ -690,9 +690,9 @@ void CDROM::ExecuteCommand()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
SendACKAndStat();
|
||||||
StopReading();
|
StopReading();
|
||||||
BeginSeeking();
|
BeginSeeking();
|
||||||
SendACKAndStat();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EndCommand();
|
EndCommand();
|
||||||
|
@ -709,9 +709,9 @@ void CDROM::ExecuteCommand()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
SendACKAndStat();
|
||||||
StopReading();
|
StopReading();
|
||||||
BeginReading(false);
|
BeginReading(false);
|
||||||
SendACKAndStat();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EndCommand();
|
EndCommand();
|
||||||
|
@ -743,8 +743,8 @@ void CDROM::ExecuteCommand()
|
||||||
m_setloc_pending = true;
|
m_setloc_pending = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
BeginReading(true);
|
|
||||||
SendACKAndStat();
|
SendACKAndStat();
|
||||||
|
BeginReading(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
EndCommand();
|
EndCommand();
|
||||||
|
@ -1254,6 +1254,7 @@ void CDROM::StopReading()
|
||||||
m_secondary_status.playing_cdda = false;
|
m_secondary_status.playing_cdda = false;
|
||||||
m_secondary_status.seeking = false;
|
m_secondary_status.seeking = false;
|
||||||
m_read_or_seek_remaining_ticks = 0;
|
m_read_or_seek_remaining_ticks = 0;
|
||||||
|
m_sector_buffer.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CDROM::LoadDataFIFO()
|
void CDROM::LoadDataFIFO()
|
||||||
|
|
Loading…
Reference in a new issue