CDROM: Fix crash when changing readahead sectors

This commit is contained in:
Connor McLaughlin committed 2022-08-01 23:07:40 +10:00
1 parent 17e554498f
commit e1383d15aa
1 file changed
+1
+1
View File
@@ -438,6 +438,7 @@ void CDROM::SetReadaheadSectors(u32 readahead_sectors)
else
m_reader.StopThread();
if (HasMedia())
m_reader.QueueReadSector(m_requested_lba);
}