mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Merge pull request #5851 from leoetlino/sysconf-fix
SysConf: Fix writing a new SYSCONF
This commit is contained in:
commit
ed331918f0
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ bool SysConf::Save() const
|
|||
std::copy(footer.cbegin(), footer.cend(), buffer.end() - footer.size());
|
||||
|
||||
// Write the new data.
|
||||
const std::string temp_file = File::GetTempFilenameForAtomicWrite(m_file_name);
|
||||
const std::string temp_file = m_file_name + ".tmp";
|
||||
File::CreateFullPath(temp_file);
|
||||
{
|
||||
File::IOFile file(temp_file, "wb");
|
||||
|
|
Loading…
Add table
Reference in a new issue