mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-28 13:16:41 +00:00
DiscIO: Merge WiiWAD into VolumeWAD
These two classes are very similar, so let's merge them.
This commit is contained in:
parent
0f5a4b37ee
commit
34f32898e6
15 changed files with 51 additions and 201 deletions
|
@ -28,7 +28,6 @@ class VolumeWAD : public Volume
|
|||
{
|
||||
public:
|
||||
VolumeWAD(std::unique_ptr<BlobReader> reader);
|
||||
~VolumeWAD();
|
||||
bool Read(u64 offset, u64 length, u8* buffer,
|
||||
const Partition& partition = PARTITION_NONE) const override;
|
||||
const FileSystem* GetFileSystem(const Partition& partition = PARTITION_NONE) const override;
|
||||
|
@ -38,6 +37,7 @@ public:
|
|||
const IOS::ES::TMDReader& GetTMD(const Partition& partition = PARTITION_NONE) const override;
|
||||
const std::vector<u8>&
|
||||
GetCertificateChain(const Partition& partition = PARTITION_NONE) const override;
|
||||
std::vector<u8> GetContent(u16 index) const override;
|
||||
std::vector<u64> GetContentOffsets() const override;
|
||||
std::string GetGameID(const Partition& partition = PARTITION_NONE) const override;
|
||||
std::string GetGameTDBID(const Partition& partition = PARTITION_NONE) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue