DiscIO: Add a way to get blob type

This commit is contained in:
JosJuice
2015-09-27 14:01:12 +02:00
parent 34c020352f
commit be7e0554d2
19 changed files with 65 additions and 37 deletions

View File

@ -19,7 +19,7 @@ class WbfsFileReader : public IBlobReader
public:
static WbfsFileReader* Create(const std::string& filename);
bool IsCompressed() const override { return true; }
BlobType GetBlobType() const override { return BlobType::WBFS; }
u64 GetDataSize() const override { return m_size; }
u64 GetRawSize() const override { return m_size; }
bool Read(u64 offset, u64 nbytes, u8* out_ptr) override;