[FS] Add FormatThisUserSaveData

This commit is contained in:
wheremyfoodat 2023-05-20 01:24:30 +03:00
parent a530350eda
commit 9ec2964695
3 changed files with 28 additions and 1 deletions

View file

@ -106,7 +106,7 @@ void SaveDataArchive::format(const FSPath& path, const ArchiveBase::FormatInfo&
fs::create_directories(saveDataPath);
// Write format info on disk
IOFile file(formatInfoPath, "wb+");
IOFile file(formatInfoPath, "wb");
file.writeBytes(&info, sizeof(info));
}