DiscIO: Add way of checking whether blob data size is accurate

This commit is contained in:
JosJuice
2019-03-21 22:20:23 +01:00
parent 0bce1c509d
commit 3014dadfa8
16 changed files with 34 additions and 6 deletions

View File

@ -20,8 +20,9 @@ public:
static std::unique_ptr<PlainFileReader> Create(File::IOFile file);
BlobType GetBlobType() const override { return BlobType::PLAIN; }
u64 GetDataSize() const override { return m_size; }
u64 GetRawSize() const override { return m_size; }
u64 GetDataSize() const override { return m_size; }
bool IsDataSizeAccurate() const override { return true; }
bool Read(u64 offset, u64 nbytes, u8* out_ptr) override;
private: