mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
CDROM: Seek to start of first track on stop
Fixes WipEout crashing after track selection.
This commit is contained in:
parent
315f2b701a
commit
42ee55ae17
|
@ -1190,6 +1190,8 @@ void CDROM::DoStopComplete()
|
||||||
m_secondary_status.motor_on = false;
|
m_secondary_status.motor_on = false;
|
||||||
m_sector_buffer.clear();
|
m_sector_buffer.clear();
|
||||||
|
|
||||||
|
m_media->Seek(0);
|
||||||
|
|
||||||
m_async_response_fifo.Clear();
|
m_async_response_fifo.Clear();
|
||||||
m_async_response_fifo.Push(m_secondary_status.bits);
|
m_async_response_fifo.Push(m_secondary_status.bits);
|
||||||
SetAsyncInterrupt(Interrupt::INT2);
|
SetAsyncInterrupt(Interrupt::INT2);
|
||||||
|
|
Loading…
Reference in a new issue