From 22648491519a764438fe2b7bc2c027382a45b1c1 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 28 May 2020 02:41:38 +1000 Subject: [PATCH] CDROM: Update position when double-seeking Doesn't fix anything I'm aware of, but makes sense. --- src/core/cdrom.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/cdrom.cpp b/src/core/cdrom.cpp index 9f11a4237..6c69bcc2b 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -777,6 +777,9 @@ void CDROM::ExecuteCommand() } else { + if (IsSeeking()) + UpdatePositionWhileSeeking(); + BeginReading(); } } @@ -805,6 +808,9 @@ void CDROM::ExecuteCommand() } else { + if (IsSeeking()) + UpdatePositionWhileSeeking(); + BeginPlaying(track); } }