diff options
| author | Max Thomas <mtinc2@gmail.com> | 2017-09-25 00:17:38 -0600 |
|---|---|---|
| committer | B3n30 <bene_thomas@web.de> | 2017-09-25 08:17:38 +0200 |
| commit | c91ccbd0ba4118554d7377bbc3bd4c64f9bccf84 (patch) | |
| tree | d56b08a52a11f229e9ce30aeda2b22bfccd48034 /src/core/file_sys/archive_selfncch.h | |
| parent | d673d508dd1ca463dc72ff68b5582ee56d62f142 (diff) | |
Loader/NCCH: Add support for loading application updates (#2927)
* loader/ncch: split NCCH parsing into its own file
* loader/ncch: add support for loading update NCCHs from the SD card
* loader/ncch: fix formatting
* file_sys/ncch_container: Return a value for OpenFile
* loader/ncch: cleanup, always instantiate overlay_ncch to base_ncch
* file_sys/ncch_container: better encryption checks, allow non-app NCCHs to load properly and for the existence of NCCH structures to be checked
* file_sys/ncch_container: pass filepath as a const reference
Diffstat (limited to 'src/core/file_sys/archive_selfncch.h')
| -rw-r--r-- | src/core/file_sys/archive_selfncch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_selfncch.h b/src/core/file_sys/archive_selfncch.h index f1b971296..f1c659948 100644 --- a/src/core/file_sys/archive_selfncch.h +++ b/src/core/file_sys/archive_selfncch.h @@ -24,6 +24,10 @@ struct NCCHData { std::shared_ptr<FileUtil::IOFile> romfs_file; u64 romfs_offset = 0; u64 romfs_size = 0; + + std::shared_ptr<FileUtil::IOFile> update_romfs_file; + u64 update_romfs_offset = 0; + u64 update_romfs_size = 0; }; /// File system interface to the SelfNCCH archive |
