From 1057e42956fadf4b356187f95ccd78cbf4c3cab4 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 26 Jul 2022 18:52:25 +1000 Subject: [PATCH] CDROM: Add additional time to auto disc swap --- src/core/cdrom.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/cdrom.cpp b/src/core/cdrom.cpp index f934a803c..126c66b54 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -367,7 +367,8 @@ std::unique_ptr CDROM::RemoveMedia(bool force /* = false */) if (!HasMedia() && !force) return nullptr; - const TickCount stop_ticks = GetTicksForStop(true); + // Add an additional two seconds to the disc swap, some games don't like it happening too quickly. + const TickCount stop_ticks = GetTicksForStop(true) + System::ScaleTicksToOverclock(System::MASTER_CLOCK * 2); Log_InfoPrintf("Removing CD..."); std::unique_ptr image = m_reader.RemoveMedia();