mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-12 22:45:47 -04:00
CDROM: Fix crash when changing readahead sectors
This commit is contained in:
@ -438,7 +438,8 @@ void CDROM::SetReadaheadSectors(u32 readahead_sectors)
|
||||
else
|
||||
m_reader.StopThread();
|
||||
|
||||
m_reader.QueueReadSector(m_requested_lba);
|
||||
if (HasMedia())
|
||||
m_reader.QueueReadSector(m_requested_lba);
|
||||
}
|
||||
|
||||
void CDROM::CPUClockChanged()
|
||||
|
Reference in New Issue
Block a user