Fix issue where titleid was being read incorrectly when importing SeedDB.

This commit is contained in:
jakcron
2022-03-28 15:49:01 +08:00
parent 1684a3a7e0
commit 5f58433bcf
+1 -1
View File
@@ -921,7 +921,7 @@ void ctrtool::KeyBagInitializer::importSeedDb(const std::shared_ptr<tc::io::ISou
// import entries // import entries
for (size_t i = 0; i < n_entries; i++) for (size_t i = 0; i < n_entries; i++)
{ {
seed_db.insert(std::pair<byte_t, KeyBag::Aes128Key>(entry[i].title_id.unwrap(), entry[i].seed)); seed_db.insert(std::pair<uint64_t, KeyBag::Aes128Key>(entry[i].title_id.unwrap(), entry[i].seed));
} }
} }