Merge pull request #9852 from Pokechu22/wii-change-disc
DVDInterface: Fix decrypting reads clearing the drive state
This commit is contained in:
commit
3b3fb9d4c3
|
@ -1251,6 +1251,8 @@ void PerformDecryptingRead(u32 position, u32 length, u32 output_address,
|
|||
const DiscIO::Partition& partition, ReplyType reply_type)
|
||||
{
|
||||
DIInterruptType interrupt_type = DIInterruptType::TCINT;
|
||||
|
||||
if (s_drive_state == DriveState::ReadyNoReadsMade)
|
||||
SetDriveState(DriveState::Ready);
|
||||
|
||||
const bool command_handled_by_thread =
|
||||
|
|
Loading…
Reference in New Issue