summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJungy <Jungorend@users.noreply.github.com>2019-02-21 03:24:25 +0100
committerbunnei <bunneidev@gmail.com>2019-02-21 03:24:25 +0100
commit3273f93cd52ce38378617d098b9c3e552d28f0d4 (patch)
treeafd59fb82f719d785fc4070d3af8bc909a7741e6
parentMerge pull request #2142 from lioncash/relocate (diff)
downloadyuzu-3273f93cd52ce38378617d098b9c3e552d28f0d4.tar
yuzu-3273f93cd52ce38378617d098b9c3e552d28f0d4.tar.gz
yuzu-3273f93cd52ce38378617d098b9c3e552d28f0d4.tar.bz2
yuzu-3273f93cd52ce38378617d098b9c3e552d28f0d4.tar.lz
yuzu-3273f93cd52ce38378617d098b9c3e552d28f0d4.tar.xz
yuzu-3273f93cd52ce38378617d098b9c3e552d28f0d4.tar.zst
yuzu-3273f93cd52ce38378617d098b9c3e552d28f0d4.zip
-rw-r--r--src/core/crypto/key_manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index ca12fb4ab..dfac9a4b3 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -398,7 +398,8 @@ static bool ValidCryptoRevisionString(std::string_view base, size_t begin, size_
}
void KeyManager::LoadFromFile(const std::string& filename, bool is_title_keys) {
- std::ifstream file(filename);
+ std::ifstream file;
+ OpenFStream(file, filename, std::ios_base::in);
if (!file.is_open())
return;