CDROM: Fix second response event getting lost on state load

This commit is contained in:
Connor McLaughlin 2021-08-24 11:57:06 +10:00
parent 4848c72466
commit a44e9d16fb

View file

@ -315,6 +315,9 @@ bool CDROM::DoState(StateWrapper& sw)
m_reader.QueueReadSector(m_requested_lba);
UpdateCommandEvent();
m_drive_event->SetState(!IsDriveIdle());
// Time will get fixed up later.
m_command_second_response_event->SetState(m_command_second_response != Command::None);
}
return !sw.HasError();