diff --git a/src/util/cd_image_ppf.cpp b/src/util/cd_image_ppf.cpp index 1f7850bee..2b20ba50b 100644 --- a/src/util/cd_image_ppf.cpp +++ b/src/util/cd_image_ppf.cpp @@ -29,6 +29,8 @@ public: std::string GetMetadata(const std::string_view& type) const override; std::string GetSubImageMetadata(u32 index, const std::string_view& type) const override; + PrecacheResult Precache(ProgressCallback* progress = ProgressCallback::NullProgressCallback) override; + protected: bool ReadSectorFromIndex(void* buffer, const Index& index, LBA lba_in_index) override; @@ -415,6 +417,11 @@ std::string CDImagePPF::GetSubImageMetadata(u32 index, const std::string_view& t return ret; } +CDImage::PrecacheResult CDImagePPF::Precache(ProgressCallback* progress /*= ProgressCallback::NullProgressCallback*/) +{ + return m_parent_image->Precache(progress); +} + bool CDImagePPF::ReadSectorFromIndex(void* buffer, const Index& index, LBA lba_in_index) { DebugAssert(index.file_index == 0);