mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 22:10:29 +02:00
Replace "ReadFileToString" with a few semantically clearer wrappers.
This commit is contained in:
1 parent
f0af76ec40
commit
1f129b6dca
15 files changed
+56
-41
No files matched your search
@@ -371,7 +371,7 @@ static bool ReadFileToString(IFileSystem *fs, const char *filename, std::string
|
||||
|
||||
static bool ReadLocalFileToString(const Path &path, std::string *contents, std::mutex *mtx) {
|
||||
std::string data;
|
||||
if (!File::ReadFileToString(false, path, data)) {
|
||||
if (!File::ReadBinaryFileToString(path, &data)) {
|
||||
return false;
|
||||
}
|
||||
if (mtx) {
|
||||
|
||||
Reference in new issue
Block a user