mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 16:59:02 +00:00
19 lines
454 B
C++
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
|