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