diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2018-05-26 11:56:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-26 11:56:51 +0200 |
| commit | 92ec97f8997fbd511406c09d83a79728cae5ec08 (patch) | |
| tree | 48d6ad6d0bb23868ad1765f75e710cd140f2f91b /Source/Core/DiscIO/DiscExtractor.cpp | |
| parent | 3f81c30e8ab351d1f3eb1d1d3fae81acf0bd06c5 (diff) | |
| parent | 58743416bbdeb01ef36838c555bfc5419dc32e7f (diff) | |
Merge pull request #6947 from JosJuice/unencrypted-wii-disc
Make the support for unencrypted Wii disc images less broken
Diffstat (limited to 'Source/Core/DiscIO/DiscExtractor.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DiscExtractor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/DiscExtractor.cpp b/Source/Core/DiscIO/DiscExtractor.cpp index 7494bd5ab7..eaba17b68a 100644 --- a/Source/Core/DiscIO/DiscExtractor.cpp +++ b/Source/Core/DiscIO/DiscExtractor.cpp @@ -361,7 +361,8 @@ bool ExportSystemData(const Volume& volume, const Partition& partition, success &= ExportTicket(volume, partition, export_folder + "/ticket.bin"); success &= ExportTMD(volume, partition, export_folder + "/tmd.bin"); success &= ExportCertificateChain(volume, partition, export_folder + "/cert.bin"); - success &= ExportH3Hashes(volume, partition, export_folder + "/h3.bin"); + if (volume.IsEncryptedAndHashed()) + success &= ExportH3Hashes(volume, partition, export_folder + "/h3.bin"); } return success; |
