diff options
author | condut <> | 2015-07-09 23:55:23 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-07-14 00:57:12 +0200 |
commit | c385b7767d32eccabbfeaa12764310cfc3d113b9 (patch) | |
tree | 1868679b3e7c30c05eb76d5e1f09fd01c86e3e65 /src/core/loader/loader.h | |
parent | Merge pull request #927 from yuriks/getopt-fix (diff) | |
download | yuzu-c385b7767d32eccabbfeaa12764310cfc3d113b9.tar yuzu-c385b7767d32eccabbfeaa12764310cfc3d113b9.tar.gz yuzu-c385b7767d32eccabbfeaa12764310cfc3d113b9.tar.bz2 yuzu-c385b7767d32eccabbfeaa12764310cfc3d113b9.tar.lz yuzu-c385b7767d32eccabbfeaa12764310cfc3d113b9.tar.xz yuzu-c385b7767d32eccabbfeaa12764310cfc3d113b9.tar.zst yuzu-c385b7767d32eccabbfeaa12764310cfc3d113b9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/loader.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index 52bbf35b8..ff298222b 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -99,10 +99,13 @@ public: /** * Get the RomFS of the application - * @param buffer Reference to buffer to store data + * Since the RomFS can be huge, we return a file reference instead of copying to a buffer + * @param romfs_file The file containing the RomFS + * @param offset The offset the romfs begins on + * @param size The size of the romfs * @return ResultStatus result of function */ - virtual ResultStatus ReadRomFS(std::vector<u8>& buffer) const { + virtual ResultStatus ReadRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset, u64& size) const { return ResultStatus::ErrorNotImplemented; } |