diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-09-24 02:42:37 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-10-07 19:15:11 +0200 |
commit | 9e34303fb98e2e11d164bf92064f17f349097134 (patch) | |
tree | 3a1bdf56377a87b9c2679731fdb0eb97d8e3fb9f /src/core/crypto/key_manager.cpp | |
parent | vfs: Move forward declarations to separate file (diff) | |
download | yuzu-9e34303fb98e2e11d164bf92064f17f349097134.tar yuzu-9e34303fb98e2e11d164bf92064f17f349097134.tar.gz yuzu-9e34303fb98e2e11d164bf92064f17f349097134.tar.bz2 yuzu-9e34303fb98e2e11d164bf92064f17f349097134.tar.lz yuzu-9e34303fb98e2e11d164bf92064f17f349097134.tar.xz yuzu-9e34303fb98e2e11d164bf92064f17f349097134.tar.zst yuzu-9e34303fb98e2e11d164bf92064f17f349097134.zip |
Diffstat (limited to 'src/core/crypto/key_manager.cpp')
-rw-r--r-- | src/core/crypto/key_manager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp index 9f47536d1..6b93aee04 100644 --- a/src/core/crypto/key_manager.cpp +++ b/src/core/crypto/key_manager.cpp @@ -161,6 +161,9 @@ void KeyManager::LoadFromFile(const std::string& filename, bool is_title_keys) { out[0].erase(std::remove(out[0].begin(), out[0].end(), ' '), out[0].end()); out[1].erase(std::remove(out[1].begin(), out[1].end(), ' '), out[1].end()); + if (out[0].compare(0, 1, "#") == 0) + continue; + if (is_title_keys) { auto rights_id_raw = Common::HexStringToArray<16>(out[0]); u128 rights_id{}; |