Files
Project_CTR/deps/libnintendo-n3ds/include/ntd/n3ds/CciFsSnapshotGenerator.h
T
2022-04-16 18:27:14 +08:00

19 lines
454 B
C++

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