CDROM: Use partial seek position when re-seeking

pull/601/head
Connor McLaughlin 5 years ago
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…
Cancel
Save