diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-21 21:04:03 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-23 17:53:30 +0200 |
commit | 119ab308b551da889782420aeff088aff0d4882e (patch) | |
tree | dcfc8478f1d96280933a56d5d35a887122a30b9b | |
parent | file_sys: Cut down on includes and copies (diff) | |
download | yuzu-119ab308b551da889782420aeff088aff0d4882e.tar yuzu-119ab308b551da889782420aeff088aff0d4882e.tar.gz yuzu-119ab308b551da889782420aeff088aff0d4882e.tar.bz2 yuzu-119ab308b551da889782420aeff088aff0d4882e.tar.lz yuzu-119ab308b551da889782420aeff088aff0d4882e.tar.xz yuzu-119ab308b551da889782420aeff088aff0d4882e.tar.zst yuzu-119ab308b551da889782420aeff088aff0d4882e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/crypto/key_manager.cpp | 1 | ||||
-rw-r--r-- | src/core/file_sys/sdmc_factory.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp index 1cb3fce00..daa779434 100644 --- a/src/core/crypto/key_manager.cpp +++ b/src/core/crypto/key_manager.cpp @@ -205,6 +205,7 @@ void KeyManager::WriteKeyToFile(bool title_key, std::string_view keyname, if (!title_key) filename = dev_mode ? "dev.keys_autogenerated" : "prod.keys_autogenerated"; const auto add_info_text = !FileUtil::Exists(yuzu_keys_dir + DIR_SEP + filename); + FileUtil::CreateFullPath(yuzu_keys_dir + DIR_SEP + filename); std::ofstream file(yuzu_keys_dir + DIR_SEP + filename, std::ios::app); if (!file.is_open()) return; diff --git a/src/core/file_sys/sdmc_factory.cpp b/src/core/file_sys/sdmc_factory.cpp index b14a254c5..e4df5c4d0 100644 --- a/src/core/file_sys/sdmc_factory.cpp +++ b/src/core/file_sys/sdmc_factory.cpp @@ -3,6 +3,7 @@ // Refer to the license.txt file included. #include <memory> +#include "core/file_sys/registered_cache.h" #include "core/file_sys/sdmc_factory.h" #include "core/file_sys/xts_archive.h" |