mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
CDROM: Ignore pending setloc after read/play
Fixes games which send a second Setloc after reading, e.g. Army Men - Sarge's Heroes.
This commit is contained in:
parent
a3e8f40a09
commit
f856a8ad65
|
@ -1496,7 +1496,7 @@ void CDROM::BeginReading(TickCount ticks_late /* = 0 */, bool after_seek /* = fa
|
||||||
Log_DebugPrintf("Starting reading @ LBA %u", m_current_lba);
|
Log_DebugPrintf("Starting reading @ LBA %u", m_current_lba);
|
||||||
ClearSectorBuffers();
|
ClearSectorBuffers();
|
||||||
|
|
||||||
if (m_setloc_pending)
|
if (!after_seek && m_setloc_pending)
|
||||||
{
|
{
|
||||||
BeginSeeking(true, true, false);
|
BeginSeeking(true, true, false);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue