diff options
Diffstat (limited to 'src/core/loader/loader.h')
| -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: | |||
| 99 | 99 | ||
| 100 | /** | 100 | /** |
| 101 | * Get the RomFS of the application | 101 | * Get the RomFS of the application |
| 102 | * @param buffer Reference to buffer to store data | 102 | * Since the RomFS can be huge, we return a file reference instead of copying to a buffer |
| 103 | * @param romfs_file The file containing the RomFS | ||
| 104 | * @param offset The offset the romfs begins on | ||
| 105 | * @param size The size of the romfs | ||
| 103 | * @return ResultStatus result of function | 106 | * @return ResultStatus result of function |
| 104 | */ | 107 | */ |
| 105 | virtual ResultStatus ReadRomFS(std::vector<u8>& buffer) const { | 108 | virtual ResultStatus ReadRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset, u64& size) const { |
| 106 | return ResultStatus::ErrorNotImplemented; | 109 | return ResultStatus::ErrorNotImplemented; |
| 107 | } | 110 | } |
| 108 | 111 | ||