CDROM: Fix crash when changing readahead sectors
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user