From 90fe071dda5e911b6d83a4aa131661b1b4c011ed Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 11 Jan 2023 18:22:10 +1000 Subject: [PATCH] CDROM: Adjust Init timing --- src/core/cdrom.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/cdrom.cpp b/src/core/cdrom.cpp index d1ef6f946..30f1e739c 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -47,7 +47,7 @@ enum : u32 AUDIO_FIFO_SIZE = 44100 * 2, AUDIO_FIFO_LOW_WATERMARK = 10, - INIT_TICKS = 400000, + INIT_TICKS = 4000000, ID_READ_TICKS = 33868, MOTOR_ON_RESPONSE_TICKS = 400000, @@ -1190,10 +1190,10 @@ bool CDROM::HasPendingDiscEvent() TickCount CDROM::GetAckDelayForCommand(Command command) { - if (command == Command::Reset) + if (command == Command::Init) { - // Full reset takes longer. - return 120000; + // Init takes longer. + return 80000; } // Tests show that the average time to acknowledge a command is significantly higher when a disc is in the drive,