mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +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
|
@ -198,7 +198,7 @@ std::string GetBundleDirectory();
|
|||
std::string GetExePath();
|
||||
std::string GetExeDirectory();
|
||||
|
||||
bool WriteStringToFile(const std::string& str, const std::string& filename);
|
||||
bool WriteStringToFile(const std::string& filename, const std::string& str);
|
||||
bool ReadFileToString(const std::string& filename, std::string& str);
|
||||
|
||||
// To deal with Windows being dumb at unicode:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue