diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-13 14:36:23 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-13 14:36:26 +0200 |
commit | e96d69c328ff217de01e457250504d08dfe785ca (patch) | |
tree | dfb513ef3436851dcec918bfcc145e7ed08c9a69 /src/core/crypto | |
parent | partition_data_manager: Remove unused includes (diff) | |
download | yuzu-e96d69c328ff217de01e457250504d08dfe785ca.tar yuzu-e96d69c328ff217de01e457250504d08dfe785ca.tar.gz yuzu-e96d69c328ff217de01e457250504d08dfe785ca.tar.bz2 yuzu-e96d69c328ff217de01e457250504d08dfe785ca.tar.lz yuzu-e96d69c328ff217de01e457250504d08dfe785ca.tar.xz yuzu-e96d69c328ff217de01e457250504d08dfe785ca.tar.zst yuzu-e96d69c328ff217de01e457250504d08dfe785ca.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/crypto/partition_data_manager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/crypto/partition_data_manager.cpp b/src/core/crypto/partition_data_manager.cpp index 4baf8ccc5..7c3d9661d 100644 --- a/src/core/crypto/partition_data_manager.cpp +++ b/src/core/crypto/partition_data_manager.cpp @@ -313,13 +313,14 @@ PartitionDataManager::PartitionDataManager(FileSys::VirtualDir sysdata_dir) FindFileInDirWithNames(sysdata_dir, "BCPKG2-5-Repair-Main"), FindFileInDirWithNames(sysdata_dir, "BCPKG2-6-Repair-Sub"), }), + prodinfo(FindFileInDirWithNames(sysdata_dir, "PRODINFO")), secure_monitor(FindFileInDirWithNames(sysdata_dir, "secmon")), package1_decrypted(FindFileInDirWithNames(sysdata_dir, "pkg1_decr")), secure_monitor_bytes(secure_monitor == nullptr ? std::vector<u8>{} : secure_monitor->ReadAllBytes()), package1_decrypted_bytes(package1_decrypted == nullptr ? std::vector<u8>{} - : package1_decrypted->ReadAllBytes()), - prodinfo(FindFileInDirWithNames(sysdata_dir, "PRODINFO")) {} + : package1_decrypted->ReadAllBytes()) { +} PartitionDataManager::~PartitionDataManager() = default; |