mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-30 08:55:41 -04: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…
x
Reference in New Issue
Block a user