More fclose cause why not

This commit is contained in:
wheremyfoodat 2023-08-17 15:30:34 +03:00
parent b1b430f92b
commit 293c14de7d
2 changed files with 2 additions and 0 deletions

View file

@ -24,6 +24,7 @@ HorizonResult ExtSaveDataArchive::createFile(const FSPath& path, u64 size) {
return Result::Success;
}
file.close();
return Result::FS::FileTooLarge;
}

View file

@ -29,6 +29,7 @@ HorizonResult SaveDataArchive::createFile(const FSPath& path, u64 size) {
return Result::Success;
}
file.close();
return Result::FS::FileTooLarge;
}