diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-13 15:27:07 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-13 15:27:12 +0200 |
commit | 781fd7983cf543fc98685a38c82c5dd4576514dc (patch) | |
tree | 4af3090df23821123fd7ba9e8c789cc6e4bf8e3c | |
parent | partition_data_manager: Take package2_keys by const reference (diff) | |
download | yuzu-781fd7983cf543fc98685a38c82c5dd4576514dc.tar yuzu-781fd7983cf543fc98685a38c82c5dd4576514dc.tar.gz yuzu-781fd7983cf543fc98685a38c82c5dd4576514dc.tar.bz2 yuzu-781fd7983cf543fc98685a38c82c5dd4576514dc.tar.lz yuzu-781fd7983cf543fc98685a38c82c5dd4576514dc.tar.xz yuzu-781fd7983cf543fc98685a38c82c5dd4576514dc.tar.zst yuzu-781fd7983cf543fc98685a38c82c5dd4576514dc.zip |
-rw-r--r-- | src/core/crypto/partition_data_manager.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/crypto/partition_data_manager.cpp b/src/core/crypto/partition_data_manager.cpp index 6862a0884..a311ad846 100644 --- a/src/core/crypto/partition_data_manager.cpp +++ b/src/core/crypto/partition_data_manager.cpp @@ -483,14 +483,12 @@ void PartitionDataManager::DecryptPackage2(const std::array<Key128, 0x20>& packa if (ini.magic != Common::MakeMagic('I', 'N', 'I', '1')) return; - std::map<u64, KIPHeader> kips{}; u64 offset = sizeof(INIHeader); for (size_t i = 0; i < ini.process_count; ++i) { KIPHeader kip; std::memcpy(&kip, c.data() + offset, sizeof(KIPHeader)); if (kip.magic != Common::MakeMagic('K', 'I', 'P', '1')) return; - kips.emplace(offset, kip); const auto name = Common::StringFromFixedZeroTerminatedBuffer(kip.name.data(), kip.name.size()); |