mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 12:05:52 +00:00
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…
x
Reference in New Issue
Block a user