mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 12:18:35 +01: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
@@ -100,7 +100,7 @@ DriverChoice::DriverChoice(const std::string &driverName, bool current, UI::Layo
|
||||
|
||||
Path metaPath = GetDriverPath() / driverName / "meta.json";
|
||||
std::string metaJson;
|
||||
if (File::ReadFileToString(true, metaPath, metaJson)) {
|
||||
if (File::ReadTextFileToString(metaPath, &metaJson)) {
|
||||
std::string errorStr;
|
||||
meta.Read(metaJson, &errorStr);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user