summaryrefslogtreecommitdiffstats
path: root/src/core/crypto/key_manager.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-28 06:03:38 +0100
committerZach Hilman <zachhilman@gmail.com>2019-03-27 03:05:37 +0100
commit60f39060c68605c6b3628cea37ef4353f06b5d0e (patch)
tree880bd7ae3c02ce8ba3772b06ca8da6b062452113 /src/core/crypto/key_manager.cpp
parentcore: Store system-wide ContentProvider for the emulator (diff)
downloadyuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.gz
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.bz2
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.lz
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.xz
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.zst
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.zip
Diffstat (limited to 'src/core/crypto/key_manager.cpp')
-rw-r--r--src/core/crypto/key_manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index dfac9a4b3..dc006e2bb 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -22,6 +22,7 @@
#include "common/file_util.h"
#include "common/hex_util.h"
#include "common/logging/log.h"
+#include "core/core.h"
#include "core/crypto/aes_util.h"
#include "core/crypto/key_manager.h"
#include "core/crypto/partition_data_manager.h"
@@ -794,7 +795,7 @@ void KeyManager::DeriveBase() {
void KeyManager::DeriveETicket(PartitionDataManager& data) {
// ETicket keys
- const auto es = Service::FileSystem::GetUnionContents().GetEntry(
+ const auto es = Core::System::GetInstance().GetContentProvider().GetEntry(
0x0100000000000033, FileSys::ContentRecordType::Program);
if (es == nullptr)