CDROM: Don't crash when stopping with no media

Fixes #76.
pull/211/head
Connor McLaughlin 5 years ago
parent e98c753d3d
commit c2370c598e

@ -1239,8 +1239,6 @@ void CDROM::DoStopComplete()
m_secondary_status.motor_on = false;
m_sector_buffer.clear();
m_reader.QueueReadSector(0);
m_async_response_fifo.Clear();
m_async_response_fifo.Push(m_secondary_status.bits);
SetAsyncInterrupt(Interrupt::Complete);

Loading…
Cancel
Save