mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
CDROM: Use partial seek position when re-seeking
This commit is contained in:
parent
4d1880091e
commit
71157b171e
|
@ -1034,6 +1034,10 @@ void CDROM::ExecuteCommand()
|
||||||
{
|
{
|
||||||
const bool logical = (m_command == Command::SeekL);
|
const bool logical = (m_command == Command::SeekL);
|
||||||
Log_DebugPrintf("CDROM %s command", logical ? "SeekL" : "SeekP");
|
Log_DebugPrintf("CDROM %s command", logical ? "SeekL" : "SeekP");
|
||||||
|
|
||||||
|
if (IsSeeking())
|
||||||
|
UpdatePositionWhileSeeking();
|
||||||
|
|
||||||
if (!CanReadMedia())
|
if (!CanReadMedia())
|
||||||
{
|
{
|
||||||
SendErrorResponse(STAT_ERROR, 0x80);
|
SendErrorResponse(STAT_ERROR, 0x80);
|
||||||
|
|
Loading…
Reference in a new issue