mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Common/FileUtil: Make WriteStringToFile consistent with ReadFileToString
Makes the parameter ordering consistent and less error-prone.
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user