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:
Connor McLaughlin 2020-05-31 17:03:13 +10:00
parent a3e8f40a09
commit f856a8ad65

View file

@ -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;