From 5f607d8c7a0f229a85ab9127e8cfc1a6940181aa Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 11 Nov 2024 01:08:31 +1000 Subject: [PATCH] CDROM: Avoid double seek on repeated Setloc+ReadS --- src/core/cdrom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cdrom.cpp b/src/core/cdrom.cpp index 42254f78b..9d491d77d 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -1670,7 +1670,7 @@ TickCount CDROM::GetTicksForTOCRead() CDImage::LBA CDROM::GetNextSectorToBeRead() { - if (!IsReadingOrPlaying()) + if (!IsReadingOrPlaying() && !IsSeeking()) return s_state.current_lba; s_reader.WaitForReadToComplete();