better compatibility

This commit is contained in:
BernardoGiordano 2018-05-11 22:20:54 +02:00
parent 0e928546dc
commit b8407ee61d

View file

@ -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)