CDROM: Reduce ACK timing

This commit is contained in:
Connor McLaughlin 2020-04-30 00:12:39 +10:00
parent 557a6c3696
commit 2d92e0a819

View file

@ -538,8 +538,8 @@ TickCount CDROM::GetAckDelayForCommand(Command command)
// Tests show that the average time to acknowledge a command is significantly higher when a disc is in the drive, // Tests show that the average time to acknowledge a command is significantly higher when a disc is in the drive,
// presumably because the controller is busy doing discy-things. // presumably because the controller is busy doing discy-things.
constexpr u32 default_ack_delay_no_disc = 20000; constexpr u32 default_ack_delay_no_disc = 5000;
constexpr u32 default_ack_delay_with_disc = 30000; constexpr u32 default_ack_delay_with_disc = 15000;
return HasMedia() ? default_ack_delay_with_disc : default_ack_delay_no_disc; return HasMedia() ? default_ack_delay_with_disc : default_ack_delay_no_disc;
} }