summaryrefslogtreecommitdiffstats
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorMax Thomas <mtinc2@gmail.com>2017-09-25 08:17:38 +0200
committerB3n30 <bene_thomas@web.de>2017-09-25 08:17:38 +0200
commitc91ccbd0ba4118554d7377bbc3bd4c64f9bccf84 (patch)
treed56b08a52a11f229e9ce30aeda2b22bfccd48034 /src/core/loader/loader.h
parentServices/UDS: Added a function to send EAPoL-Start packets (#2920) (diff)
downloadyuzu-c91ccbd0ba4118554d7377bbc3bd4c64f9bccf84.tar
yuzu-c91ccbd0ba4118554d7377bbc3bd4c64f9bccf84.tar.gz
yuzu-c91ccbd0ba4118554d7377bbc3bd4c64f9bccf84.tar.bz2
yuzu-c91ccbd0ba4118554d7377bbc3bd4c64f9bccf84.tar.lz
yuzu-c91ccbd0ba4118554d7377bbc3bd4c64f9bccf84.tar.xz
yuzu-c91ccbd0ba4118554d7377bbc3bd4c64f9bccf84.tar.zst
yuzu-c91ccbd0ba4118554d7377bbc3bd4c64f9bccf84.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/loader.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index e731888a2..3160fd2fd 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -167,6 +167,19 @@ public:
}
/**
+ * Get the update RomFS of the application
+ * 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 ReadUpdateRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset,
+ u64& size) {
+ return ResultStatus::ErrorNotImplemented;
+ }
+
+ /**
* Get the title of the application
* @param title Reference to store the application title into
* @return ResultStatus result of function