mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 15:05:46 +00:00
FS: Stream RomFS from file instead of loading all of it to memory
This commit is contained in:
parent
ecdfd0643a
commit
c385b7767d
9 changed files with 48 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue