mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 03:38:54 +00:00
Common/FileUtil: Make WriteStringToFile consistent with ReadFileToString
Makes the parameter ordering consistent and less error-prone.
This commit is contained in:
parent
992c8bfc4e
commit
eb475025b8
6 changed files with 13 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue