mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-15 06:07:06 +00:00
better compatibility
This commit is contained in:
parent
0e928546dc
commit
b8407ee61d
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ void io::copyFile(const std::string& srcPath, const std::string& dstPath)
|
|||
delete[] buf;
|
||||
fclose(src);
|
||||
fclose(dst);
|
||||
|
||||
// commit each file to the save
|
||||
fsdevCommitDevice("save");
|
||||
}
|
||||
|
||||
Result io::copyDirectory(const std::string& srcPath, const std::string& dstPath)
|
||||
|
|
Loading…
Reference in a new issue