mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-30 14:26:16 +00:00
Save config in UTF-8 (#1524)
This commit is contained in:
parent
bf239ebc04
commit
7be35c3997
1 changed files with 1 additions and 1 deletions
|
@ -658,7 +658,7 @@ void save(const std::filesystem::path& path) {
|
||||||
// TODO Migration code, after a major release this should be removed.
|
// TODO Migration code, after a major release this should be removed.
|
||||||
data.at("GUI").as_table().erase("installDir");
|
data.at("GUI").as_table().erase("installDir");
|
||||||
|
|
||||||
std::ofstream file(path, std::ios::out);
|
std::ofstream file(path, std::ios::binary);
|
||||||
file << data;
|
file << data;
|
||||||
file.close();
|
file.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue