dep/libchdr: Re-add progress precaching

This commit is contained in:
Stenzek committed 2023-08-12 14:46:09 +10:00
1 parent 4b70853daa
commit 06a8349162
3 files changed
+53 -22

No files matched your search

+1 -2
View File
@@ -320,8 +320,7 @@ CDImage::PrecacheResult CDImageCHD::Precache(ProgressCallback* progress)
static_cast<ProgressCallback*>(param)->SetProgressValue(std::min<u32>(percent, 100));
};
//if (chd_precache_progress(m_chd, callback, progress) != CHDERR_NONE)
if (chd_precache(m_chd) != CHDERR_NONE)
if (chd_precache_progress(m_chd, callback, progress) != CHDERR_NONE)
return CDImage::PrecacheResult::ReadError;
m_precached = true;