CDROM: Avoid double seek on repeated Setloc+ReadS

pull/3330/head
Stenzek 12 months ago
parent 97938a8b8c
commit 5f607d8c7a
No known key found for this signature in database

@ -1670,7 +1670,7 @@ TickCount CDROM::GetTicksForTOCRead()
CDImage::LBA CDROM::GetNextSectorToBeRead() CDImage::LBA CDROM::GetNextSectorToBeRead()
{ {
if (!IsReadingOrPlaying()) if (!IsReadingOrPlaying() && !IsSeeking())
return s_state.current_lba; return s_state.current_lba;
s_reader.WaitForReadToComplete(); s_reader.WaitForReadToComplete();

Loading…
Cancel
Save