CDROM: Fix lockup when loading state with precaching
This commit is contained in:
parent
7f5a4a065b
commit
7782bb9845
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue