mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-21 17:59:50 +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
|
@ -20,12 +20,23 @@
|
|||
namespace DiscIO
|
||||
{
|
||||
|
||||
// Increment CACHE_REVISION if the enum below is modified (ISOFile.cpp & GameFile.cpp)
|
||||
enum class BlobType
|
||||
{
|
||||
PLAIN,
|
||||
DRIVE,
|
||||
DIRECTORY,
|
||||
GCZ,
|
||||
CISO,
|
||||
WBFS
|
||||
};
|
||||
|
||||
class IBlobReader
|
||||
{
|
||||
public:
|
||||
virtual ~IBlobReader() {}
|
||||
|
||||
virtual bool IsCompressed() const = 0;
|
||||
virtual BlobType GetBlobType() const = 0;
|
||||
virtual u64 GetRawSize() const = 0;
|
||||
virtual u64 GetDataSize() const = 0;
|
||||
// NOT thread-safe - can't call this from multiple threads.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue