CDROM: Fix lockup when loading state with precaching

This commit is contained in:
Stenzek 2024-10-26 02:14:45 +10:00
parent 7f5a4a065b
commit 7782bb9845
No known key found for this signature in database
1 changed files with 0 additions and 2 deletions

View File

@ -70,8 +70,6 @@ bool CDROMAsyncReader::Precache(ProgressCallback* callback)
else if (m_media->IsPrecached()) else if (m_media->IsPrecached())
return true; return true;
EmptyBuffers();
const CDImage::PrecacheResult res = m_media->Precache(callback); const CDImage::PrecacheResult res = m_media->Precache(callback);
if (res == CDImage::PrecacheResult::Unsupported) if (res == CDImage::PrecacheResult::Unsupported)
{ {