mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-07 22:35:42 -04:00
CDROM: Fix crash when changing readahead sectors
This commit is contained in:
parent
17e554498f
commit
e1383d15aa
@ -438,6 +438,7 @@ void CDROM::SetReadaheadSectors(u32 readahead_sectors)
|
|||||||
else
|
else
|
||||||
m_reader.StopThread();
|
m_reader.StopThread();
|
||||||
|
|
||||||
|
if (HasMedia())
|
||||||
m_reader.QueueReadSector(m_requested_lba);
|
m_reader.QueueReadSector(m_requested_lba);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user