#pragma once #include namespace ntd { namespace n3ds { struct CiaFsSnapshotGenerator : public tc::io::VirtualFileSystem::FileSystemSnapshot { public: CiaFsSnapshotGenerator(const std::shared_ptr& stream); private: CiaFsSnapshotGenerator(); std::shared_ptr mBaseStream; size_t mCurDir; void addFile(const std::string& name, int64_t offset, int64_t size); }; }} // namespace ntd::n3ds