mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00: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
@@ -126,7 +126,7 @@ static std::vector<int> ParseCPUList(const std::string &filename) {
|
||||
std::string data;
|
||||
std::vector<int> results;
|
||||
|
||||
if (File::ReadFileToString(true, Path(filename), data)) {
|
||||
if (File::ReadSysTextFileToString(Path(filename), &data)) {
|
||||
std::vector<std::string> ranges;
|
||||
SplitString(data, ',', ranges);
|
||||
for (auto range : ranges) {
|
||||
|
||||
Reference in new issue
Block a user