mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Blob: Add interface for reading decrypted Wii data directly
This is useful for blob types that store Wii data unencrypted (such as WIA and discs extracted to directories) so that we don't have to waste CPU time encrypting in the blob code just to decrypt right afterwards in the volume code.
This commit is contained in:
@ -56,6 +56,12 @@ public:
|
||||
return Common::FromBigEndian(temp);
|
||||
}
|
||||
|
||||
virtual bool SupportsReadWiiDecrypted() const { return false; }
|
||||
virtual bool ReadWiiDecrypted(u64 offset, u64 size, u8* out_ptr, u64 partition_offset)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
BlobReader() {}
|
||||
};
|
||||
|
Reference in New Issue
Block a user