diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-07-30 18:46:23 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-01 06:16:54 +0200 |
commit | 187d8e215fb157edaa9f3976bebba9a9a7ed103d (patch) | |
tree | 140cbfbd109281adc87c9c79ee07976ba54888cd /src/core/crypto/key_manager.h | |
parent | Use static const instead of const static (diff) | |
download | yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.gz yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.bz2 yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.lz yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.xz yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.zst yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.zip |
Diffstat (limited to 'src/core/crypto/key_manager.h')
-rw-r--r-- | src/core/crypto/key_manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h index c09a6197e..03152a12c 100644 --- a/src/core/crypto/key_manager.h +++ b/src/core/crypto/key_manager.h @@ -102,6 +102,8 @@ public: void SetKey(S128KeyType id, Key128 key, u64 field1 = 0, u64 field2 = 0); void SetKey(S256KeyType id, Key256 key, u64 field1 = 0, u64 field2 = 0); + static bool KeyFileExists(bool title); + private: std::unordered_map<KeyIndex<S128KeyType>, Key128> s128_keys; std::unordered_map<KeyIndex<S256KeyType>, Key256> s256_keys; |