Skip to content

Commit f856a8a

Browse files
committed
CDROM: Ignore pending setloc after read/play
Fixes games which send a second Setloc after reading, e.g. Army Men - Sarge's Heroes.
1 parent a3e8f40 commit f856a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/cdrom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,7 @@ void CDROM::BeginReading(TickCount ticks_late /* = 0 */, bool after_seek /* = fa
14961496
Log_DebugPrintf("Starting reading @ LBA %u", m_current_lba);
14971497
ClearSectorBuffers();
14981498

1499-
if (m_setloc_pending)
1499+
if (!after_seek && m_setloc_pending)
15001500
{
15011501
BeginSeeking(true, true, false);
15021502
return;

0 commit comments

Comments
 (0)