CDROM: Seek to start of first track on stop
Fixes WipEout crashing after track selection.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user