CDROM: Avoid double seek on repeated Setloc+ReadS

This commit is contained in:
Stenzek 2024-11-11 01:08:31 +10:00
parent 97938a8b8c
commit 5f607d8c7a
No known key found for this signature in database

View File

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