mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 17:55:45 -04:00
CDROM: Clear data FIFO on reset
Fixes Snatcher booting.
This commit is contained in:
@ -1569,6 +1569,7 @@ void CDROM::DoResetComplete(TickCount ticks_late)
|
|||||||
m_secondary_status.motor_on = CanReadMedia();
|
m_secondary_status.motor_on = CanReadMedia();
|
||||||
m_mode.bits = 0;
|
m_mode.bits = 0;
|
||||||
m_mode.read_raw_sector = true;
|
m_mode.read_raw_sector = true;
|
||||||
|
m_data_fifo.Clear();
|
||||||
|
|
||||||
if (!CanReadMedia())
|
if (!CanReadMedia())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user