mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
DiscIO: Add a way to get blob type
This commit is contained in:
parent
34c020352f
commit
be7e0554d2
19 changed files with 65 additions and 37 deletions
|
@ -19,7 +19,7 @@ class PlainFileReader : public IBlobReader
|
|||
public:
|
||||
static PlainFileReader* Create(const std::string& filename);
|
||||
|
||||
bool IsCompressed() const override { return false; }
|
||||
BlobType GetBlobType() const override { return BlobType::PLAIN; }
|
||||
u64 GetDataSize() const override { return m_size; }
|
||||
u64 GetRawSize() const override { return m_size; }
|
||||
bool Read(u64 offset, u64 nbytes, u8* out_ptr) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue