22 size_t GetBaseOffset()
override {
24 return util::AlignUp(this->GetFatEntriesOffset() + this->header.fat_size, 0x20);
27 size_t GetFatEntriesOffset()
override {
28 return this->header.fat_offset;
31 size_t GetFatEntryCount()
override {
32 return this->header.fat_size /
sizeof(nfs::FileAllocationTableEntry);
35 Result OnFileSystemWrite(fs::BinaryFile &w_bf,
const ssize_t size_diff)
override {
40 Result ValidateImpl(
const std::string &path, std::shared_ptr<fs::FileHandle> file_handle,
const fs::FileCompression comp)
override;
41 Result ReadImpl(
const std::string &path, std::shared_ptr<fs::FileHandle> file_handle,
const fs::FileCompression comp)
override;