mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
Merge pull request #8132 from lioncash/string
Common/FileUtil: Use std::string_view with WriteStringToFile
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