mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-04 17:25:41 -04: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…
x
Reference in New Issue
Block a user