summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-02-04 09:55:02 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:29 +0200
commit93cf8c3090889e1228b94df4d171601d8f7dd7f0 (patch)
tree50dea0d1b7e2c9ecd668ad3e33c912df5b3e5f0a /src/core
parentandroid: jni: Add function to reload keys. (diff)
downloadyuzu-93cf8c3090889e1228b94df4d171601d8f7dd7f0.tar
yuzu-93cf8c3090889e1228b94df4d171601d8f7dd7f0.tar.gz
yuzu-93cf8c3090889e1228b94df4d171601d8f7dd7f0.tar.bz2
yuzu-93cf8c3090889e1228b94df4d171601d8f7dd7f0.tar.lz
yuzu-93cf8c3090889e1228b94df4d171601d8f7dd7f0.tar.xz
yuzu-93cf8c3090889e1228b94df4d171601d8f7dd7f0.tar.zst
yuzu-93cf8c3090889e1228b94df4d171601d8f7dd7f0.zip
Diffstat (limited to '')
-rw-r--r--src/core/crypto/key_manager.cpp2
-rw-r--r--src/core/crypto/key_manager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index 0bd5859d0..4ff2c50e5 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -706,7 +706,7 @@ void KeyManager::LoadFromFile(const std::filesystem::path& file_path, bool is_ti
}
}
-bool KeyManager::IsKeysLoaded() const {
+bool KeyManager::AreKeysLoaded() const {
return !s128_keys.empty() && !s256_keys.empty();
}
diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h
index fb991ae54..8c864503b 100644
--- a/src/core/crypto/key_manager.h
+++ b/src/core/crypto/key_manager.h
@@ -268,7 +268,7 @@ public:
bool AddTicketPersonalized(Ticket raw);
void ReloadKeys();
- bool IsKeysLoaded() const;
+ bool AreKeysLoaded() const;
private:
KeyManager();