Common/FileUtil: Make WriteStringToFile consistent with ReadFileToString

Makes the parameter ordering consistent and less error-prone.
This commit is contained in:
Lioncash
2019-05-29 07:06:53 -04:00
parent 992c8bfc4e
commit eb475025b8
6 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ void GameFile::DownloadDefaultCover()
if (!response)
return;
File::WriteStringToFile(std::string(response->begin(), response->end()), png_path);
File::WriteStringToFile(png_path, std::string(response->begin(), response->end()));
}
bool GameFile::DefaultCoverChanged()