FS: Stream RomFS from file instead of loading all of it to memory

This commit is contained in:
condut
2015-07-10 00:55:23 +03:00
committed by Yuri Kunde Schlesner
parent ecdfd0643a
commit c385b7767d
9 changed files with 48 additions and 33 deletions

View File

@ -29,7 +29,9 @@ public:
ResultCode Format(const Path& path) override;
private:
std::shared_ptr<std::vector<u8>> romfs_data;
std::shared_ptr<FileUtil::IOFile> romfs_file;
u64 data_offset;
u64 data_size;
};
} // namespace FileSys