diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-05-28 17:45:36 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-05-29 07:06:53 -0400 |
| commit | eb475025b85686f4793bb83bac377033c17fbd2d (patch) | |
| tree | 3a5c8e36cab1dae1e4e36ef243d44f540f2c55f1 /Source/Core/UICommon/GameFile.cpp | |
| parent | 992c8bfc4e2394ad5786f5116f5e62ae595b5c44 (diff) | |
Common/FileUtil: Make WriteStringToFile consistent with ReadFileToString
Makes the parameter ordering consistent and less error-prone.
Diffstat (limited to 'Source/Core/UICommon/GameFile.cpp')
| -rw-r--r-- | Source/Core/UICommon/GameFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index 4e5ad6f9c2..fb8c3d0a67 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -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() |
