diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-08-01 19:19:14 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-01 19:19:14 +0800 |
| commit | bf2241ccd2586f7c3d7c84737b0112461b56a08b (patch) | |
| tree | 01f4e79ab28c850b2b015f93c0e7ca962c80e845 /Source/Core/DiscIO/VolumeWii.cpp | |
| parent | 2098ee1b15d119cc1f4e890f72c55aab6d985969 (diff) | |
| parent | b6c6a04f9552c804fdb6a5a9eae2b51fd902d3ef (diff) | |
Merge pull request #5573 from JosJuice/directory-blob
Turn VolumeDirectory into DirectoryBlob
Diffstat (limited to 'Source/Core/DiscIO/VolumeWii.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeWii.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/VolumeWii.cpp b/Source/Core/DiscIO/VolumeWii.cpp index 7f7670d6d7..4e8bba6b91 100644 --- a/Source/Core/DiscIO/VolumeWii.cpp +++ b/Source/Core/DiscIO/VolumeWii.cpp @@ -128,6 +128,9 @@ bool VolumeWii::Read(u64 _ReadOffset, u64 _Length, u8* _pBuffer, const Partition if (partition == PARTITION_NONE) return m_pReader->Read(_ReadOffset, _Length, _pBuffer); + if (m_pReader->SupportsReadWiiDecrypted()) + return m_pReader->ReadWiiDecrypted(_ReadOffset, _Length, _pBuffer, partition.offset); + // Get the decryption key for the partition auto it = m_partitions.find(partition); if (it == m_partitions.end()) |
