summaryrefslogtreecommitdiffstats
path: root/src/core/crypto
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-06-24 00:31:04 +0200
committerGitHub <noreply@github.com>2021-06-24 00:31:04 +0200
commit1b09d6628b7f268c256c12e4d3e373724671d2f1 (patch)
treeb1679d1c4bc044144798746332860939fe43d109 /src/core/crypto
parentMerge pull request #6504 from Kelebek1/samples-played (diff)
parentGeneral: Resolve fmt specifiers to adhere to 8.0.0 API where applicable (diff)
downloadyuzu-1b09d6628b7f268c256c12e4d3e373724671d2f1.tar
yuzu-1b09d6628b7f268c256c12e4d3e373724671d2f1.tar.gz
yuzu-1b09d6628b7f268c256c12e4d3e373724671d2f1.tar.bz2
yuzu-1b09d6628b7f268c256c12e4d3e373724671d2f1.tar.lz
yuzu-1b09d6628b7f268c256c12e4d3e373724671d2f1.tar.xz
yuzu-1b09d6628b7f268c256c12e4d3e373724671d2f1.tar.zst
yuzu-1b09d6628b7f268c256c12e4d3e373724671d2f1.zip
Diffstat (limited to '')
-rw-r--r--src/core/crypto/key_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index fb451a423..a98daed89 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -835,7 +835,7 @@ void KeyManager::SetKey(S128KeyType id, Key128 key, u64 field1, u64 field2) {
"key_area_key_ocean_{:02X}",
"key_area_key_system_{:02X}",
};
- WriteKeyToFile(category, fmt::format(kak_names.at(field2), field1), key);
+ WriteKeyToFile(category, fmt::format(fmt::runtime(kak_names.at(field2)), field1), key);
} else if (id == S128KeyType::Master) {
WriteKeyToFile(category, fmt::format("master_key_{:02X}", field1), key);
} else if (id == S128KeyType::Package1) {