mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
Show file format details in game properties
This commit is contained in:
parent
9982251899
commit
d494e0230c
26 changed files with 342 additions and 17 deletions
|
@ -41,6 +41,8 @@ enum class BlobType
|
|||
RVZ,
|
||||
};
|
||||
|
||||
std::string GetName(BlobType blob_type, bool translate);
|
||||
|
||||
class BlobReader
|
||||
{
|
||||
public:
|
||||
|
@ -55,6 +57,7 @@ public:
|
|||
// Returns 0 if the format does not use blocks
|
||||
virtual u64 GetBlockSize() const = 0;
|
||||
virtual bool HasFastRandomAccessInBlock() const = 0;
|
||||
virtual std::string GetCompressionMethod() const = 0;
|
||||
|
||||
// NOT thread-safe - can't call this from multiple threads.
|
||||
virtual bool Read(u64 offset, u64 size, u8* out_ptr) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue