summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-11-27 03:20:05 +0100
committerGitHub <noreply@github.com>2022-11-27 03:20:05 +0100
commitef6144bf48dc0196bb2ef6cf0e0710ca6b58b1e7 (patch)
treee0e66edc8794340e19a2ed48e0a491589c9265ef /src/core
parentMerge pull request #9318 from goldenx86/glsl-ftw (diff)
parentcrypto: use user-provided keys whenever possible (diff)
downloadyuzu-ef6144bf48dc0196bb2ef6cf0e0710ca6b58b1e7.tar
yuzu-ef6144bf48dc0196bb2ef6cf0e0710ca6b58b1e7.tar.gz
yuzu-ef6144bf48dc0196bb2ef6cf0e0710ca6b58b1e7.tar.bz2
yuzu-ef6144bf48dc0196bb2ef6cf0e0710ca6b58b1e7.tar.lz
yuzu-ef6144bf48dc0196bb2ef6cf0e0710ca6b58b1e7.tar.xz
yuzu-ef6144bf48dc0196bb2ef6cf0e0710ca6b58b1e7.tar.zst
yuzu-ef6144bf48dc0196bb2ef6cf0e0710ca6b58b1e7.zip
Diffstat (limited to '')
-rw-r--r--src/core/crypto/key_manager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index 443323390..65a9fe802 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -578,18 +578,18 @@ KeyManager::KeyManager() {
if (Settings::values.use_dev_keys) {
dev_mode = true;
- LoadFromFile(yuzu_keys_dir / "dev.keys", false);
LoadFromFile(yuzu_keys_dir / "dev.keys_autogenerated", false);
+ LoadFromFile(yuzu_keys_dir / "dev.keys", false);
} else {
dev_mode = false;
- LoadFromFile(yuzu_keys_dir / "prod.keys", false);
LoadFromFile(yuzu_keys_dir / "prod.keys_autogenerated", false);
+ LoadFromFile(yuzu_keys_dir / "prod.keys", false);
}
- LoadFromFile(yuzu_keys_dir / "title.keys", true);
LoadFromFile(yuzu_keys_dir / "title.keys_autogenerated", true);
- LoadFromFile(yuzu_keys_dir / "console.keys", false);
+ LoadFromFile(yuzu_keys_dir / "title.keys", true);
LoadFromFile(yuzu_keys_dir / "console.keys_autogenerated", false);
+ LoadFromFile(yuzu_keys_dir / "console.keys", false);
}
static bool ValidCryptoRevisionString(std::string_view base, size_t begin, size_t length) {