diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-24 08:20:00 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-24 08:20:02 +0200 |
commit | c74b7ee204853413813d06e4ae008639b4f12118 (patch) | |
tree | 800fb32b58060e923e8af897d4e52ce68f0a35b1 /src/common/file_util.cpp | |
parent | Port #4013 from Citra: "Init logging sooner so we dont miss some logs on startup" (#1142) (diff) | |
download | yuzu-c74b7ee204853413813d06e4ae008639b4f12118.tar yuzu-c74b7ee204853413813d06e4ae008639b4f12118.tar.gz yuzu-c74b7ee204853413813d06e4ae008639b4f12118.tar.bz2 yuzu-c74b7ee204853413813d06e4ae008639b4f12118.tar.lz yuzu-c74b7ee204853413813d06e4ae008639b4f12118.tar.xz yuzu-c74b7ee204853413813d06e4ae008639b4f12118.tar.zst yuzu-c74b7ee204853413813d06e4ae008639b4f12118.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/file_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index b30a67ff9..baa721481 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -764,7 +764,7 @@ size_t ReadFileToString(bool text_file, const char* filename, std::string& str) IOFile file(filename, text_file ? "r" : "rb"); if (!file.IsOpen()) - return false; + return 0; str.resize(static_cast<u32>(file.GetSize())); return file.ReadArray(&str[0], str.size()); |