diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2022-07-26 08:44:35 -0700 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2022-07-26 22:16:37 -0700 |
| commit | bfa2a66c98f0bf9629d1e873d68619311613eaac (patch) | |
| tree | fd544525d2243a4d0981397b0c24594743af038f /Source/Core/DiscIO | |
| parent | dd29a54cf6351e79d5c8040f86383eb585ea4aa2 (diff) | |
WIABlob: remove outdated mbedtls workaround
Diffstat (limited to 'Source/Core/DiscIO')
| -rw-r--r-- | Source/Core/DiscIO/WIABlob.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/WIABlob.cpp b/Source/Core/DiscIO/WIABlob.cpp index dd83c03d0d..1ee9dd7308 100644 --- a/Source/Core/DiscIO/WIABlob.cpp +++ b/Source/Core/DiscIO/WIABlob.cpp @@ -1991,8 +1991,6 @@ WIARVZFileReader<RVZ>::Convert(BlobReader* infile, const VolumeDisc* infile_volu header_2.partition_entry_size = Common::swap32(sizeof(PartitionEntry)); header_2.partition_entries_offset = Common::swap64(partition_entries_offset); - if (partition_entries.data() == nullptr) - partition_entries.reserve(1); // Avoid a crash in mbedtls_sha1_ret TODO examine this header_2.partition_entries_hash = Common::SHA1::CalculateDigest(partition_entries); header_2.number_of_raw_data_entries = Common::swap32(static_cast<u32>(raw_data_entries.size())); |
