DiscIO: Use partition data offset for ReadWiiDecrypted parameter

Instead of the partition offset (which is usually 0x20000 less).
This commit is contained in:
JosJuice
2019-12-27 22:04:51 +01:00
parent 7e94d6ed37
commit a4c7100bcc
4 changed files with 13 additions and 8 deletions

View File

@ -141,7 +141,7 @@ public:
bool Read(u64 offset, u64 length, u8* buffer) override;
bool SupportsReadWiiDecrypted() const override;
bool ReadWiiDecrypted(u64 offset, u64 size, u8* buffer, u64 partition_offset) override;
bool ReadWiiDecrypted(u64 offset, u64 size, u8* buffer, u64 partition_data_offset) override;
BlobType GetBlobType() const override;
u64 GetRawSize() const override;